Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 110 kB / 16.42 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 240.1 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 192.5 kB / 290.4 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5122/0.5122, allocations: 91.91 MB / 432.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 76.56 kB / 0.5734 GB, free: 33.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1039, allocations: 71.29 MB / 0.643 GB, free: 3.688 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.007105/0.111, allocations: 6.772 MB / 0.6496 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003683/0.1148, allocations: 2.028 MB / 0.6516 GB, free: 10.85 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004843/0.1153, allocations: 15.94 kB / 0.6516 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006416/0.1159, allocations: 241.9 kB / 0.6519 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001822/0.1178, allocations: 0.8436 MB / 0.6527 GB, free: 9.754 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.1191, allocations: 0.6564 MB / 0.6533 GB, free: 9.102 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001583/0.1207, allocations: 1.62 MB / 0.6549 GB, free: 7.477 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004894/0.1212, allocations: 338.5 kB / 0.6552 GB, free: 7.137 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007298/0.1219, allocations: 0.6652 MB / 0.6559 GB, free: 6.469 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008744/0.1228, allocations: 0.8361 MB / 0.6567 GB, free: 5.629 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001878/0.123, allocations: 131.9 kB / 0.6568 GB, free: 5.5 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004688/0.1235, allocations: 259.9 kB / 0.6571 GB, free: 5.246 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002845/0.1238, allocations: 338.6 kB / 0.6574 GB, free: 4.914 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005562/0.1244, allocations: 0.6757 MB / 0.6581 GB, free: 4.234 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.126, allocations: 1.689 MB / 0.6597 GB, free: 2.539 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.126, allocations: 0 / 0.6597 GB, free: 2.539 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.126, allocations: 0 / 0.6597 GB, free: 2.539 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.126, allocations: 0 / 0.6597 GB, free: 2.539 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.008948/0.135, allocations: 2.707 MB / 0.6624 GB, free: 15.76 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.135, allocations: 8.031 kB / 0.6624 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00531/0.1403, allocations: 0.7826 MB / 0.6631 GB, free: 14.97 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.1418, allocations: 0.9118 MB / 0.664 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/0.1421, allocations: 260.1 kB / 0.6643 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.1423, allocations: 91.91 kB / 0.6644 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002765/0.1451, allocations: 1.4 MB / 0.6657 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.1451, allocations: 0 / 0.6657 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.1452, allocations: 32 kB / 0.6658 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.1452, allocations: 20 kB / 0.6658 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.1474, allocations: 1.005 MB / 0.6668 GB, free: 11.14 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006261/0.1536, allocations: 3.7 MB / 0.6704 GB, free: 7.246 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007959/0.1616, allocations: 2.567 MB / 0.6729 GB, free: 4.555 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.1632, allocations: 0.7644 MB / 0.6736 GB, free: 3.781 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.1633, allocations: 28.64 kB / 0.6736 GB, free: 3.75 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001531/0.1648, allocations: 0.747 MB / 0.6744 GB, free: 2.98 MB / 478.1 MB Notification: Performance of pre-optimization done (n=115): time 3.707e-06/0.1648, allocations: 0 / 0.6744 GB, free: 2.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=115): time 0.03084/0.1957, allocations: 7.299 MB / 0.6815 GB, free: 11.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/0.1958, allocations: 170.8 kB / 0.6817 GB, free: 11.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.1974, allocations: 1.091 MB / 0.6827 GB, free: 10.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001468/0.1976, allocations: 49.7 kB / 0.6828 GB, free: 10.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003622/0.198, allocations: 477.2 kB / 0.6832 GB, free: 9.781 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003371/0.1983, allocations: 331.7 kB / 0.6836 GB, free: 9.453 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005048/0.1988, allocations: 295.4 kB / 0.6838 GB, free: 9.156 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.773e-05/0.1989, allocations: 305.1 kB / 0.6841 GB, free: 8.855 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.2006, allocations: 0.7379 MB / 0.6848 GB, free: 8.117 MB / 494.1 MB Error: Internal error BackendDAEOptimize.partitionIndependentBlocks failed without good error message Error: No system for the symbolic initialization was generated Error: Internal error SimCode DAEmode: The model OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous could not be translated