Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09919/0.09919, allocations: 12.59 MB / 28.22 MB, free: 0.7812 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009761/0.0009762, allocations: 111.4 kB / 31.84 MB, free: 3.902 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001257, allocations: 179.5 kB / 290.7 MB, free: 13.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4106/0.4106, allocations: 78.51 MB / 419.3 MB, free: 11.27 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00263/0.002631, allocations: 143.7 kB / 0.5558 GB, free: 28.34 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1064, allocations: 68.13 MB / 0.6224 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01334/0.1197, allocations: 15.02 MB / 0.637 GB, free: 380 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008458/0.1282, allocations: 4.577 MB / 0.6415 GB, free: 11.78 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001927/0.1302, allocations: 28 kB / 0.6415 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.132, allocations: 0.775 MB / 0.6423 GB, free: 10.97 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006214/0.1382, allocations: 2.567 MB / 0.6448 GB, free: 8.418 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002804/0.141, allocations: 1.33 MB / 0.6461 GB, free: 7.102 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005624/0.1467, allocations: 4.891 MB / 0.6509 GB, free: 2.195 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.1478, allocations: 0.7957 MB / 0.6517 GB, free: 1.359 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002212/0.15, allocations: 1.883 MB / 0.6535 GB, free: 15.47 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00251/0.1526, allocations: 2.451 MB / 0.6559 GB, free: 13.01 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005881/0.1532, allocations: 404 kB / 0.6563 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.1542, allocations: 0.6442 MB / 0.6569 GB, free: 11.97 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007494/0.1549, allocations: 0.9766 MB / 0.6579 GB, free: 10.99 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00178/0.1567, allocations: 2.001 MB / 0.6598 GB, free: 8.977 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004792/0.1615, allocations: 5.33 MB / 0.665 GB, free: 3.629 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1616, allocations: 0 / 0.665 GB, free: 3.629 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1616, allocations: 4 kB / 0.665 GB, free: 3.625 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.05e-05/0.1617, allocations: 0 / 0.665 GB, free: 3.625 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.04012/0.2018, allocations: 9.511 MB / 0.6743 GB, free: 10.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2018, allocations: 11.98 kB / 0.6743 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/0.2132, allocations: 1.751 MB / 0.676 GB, free: 8.266 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00368/0.2169, allocations: 2.167 MB / 0.6781 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007251/0.2177, allocations: 0.6663 MB / 0.6788 GB, free: 5.281 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004698/0.2181, allocations: 239.8 kB / 0.679 GB, free: 5.047 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0061/0.2242, allocations: 2.693 MB / 0.6817 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/0.2243, allocations: 0 / 0.6817 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002399/0.2246, allocations: 76 kB / 0.6817 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.986e-05/0.2246, allocations: 44 kB / 0.6818 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006556/0.2312, allocations: 2.834 MB / 0.6845 GB, free: 15.39 MB / 0.4981 GB 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.01887/0.2501, allocations: 11 MB / 0.6953 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01268/0.2628, allocations: 4.964 MB / 0.7001 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004476/0.2673, allocations: 1.931 MB / 0.702 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002776/0.2676, allocations: 41.95 kB / 0.7021 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.2676, allocations: 64.56 kB / 0.7021 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 5.65e-06/0.2676, allocations: 0 / 0.7021 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.377/0.6447, allocations: 29.55 MB / 0.731 GB, free: 77.45 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.6448, allocations: 77.84 kB / 0.731 GB, free: 77.39 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004358/0.6492, allocations: 2.905 MB / 0.7339 GB, free: 76.19 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007111/0.6499, allocations: 80.7 kB / 0.734 GB, free: 76.11 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008156/0.6507, allocations: 1.253 MB / 0.7352 GB, free: 75.2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001064/0.6518, allocations: 0.8987 MB / 0.7361 GB, free: 74.46 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001442/0.6532, allocations: 0.7521 MB / 0.7368 GB, free: 74.01 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.331e-05/0.6533, allocations: 305.1 kB / 0.7371 GB, free: 73.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00453/0.6578, allocations: 2.289 MB / 0.7393 GB, free: 72.54 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004662/0.6625, allocations: 2.675 MB / 0.7419 GB, free: 71.01 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009305/0.6718, allocations: 4.845 MB / 0.7467 GB, free: 68.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/0.6719, allocations: 1.375 kB / 0.7467 GB, free: 68.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01445/0.6863, allocations: 7.233 MB / 0.7537 GB, free: 63.71 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.6864, allocations: 8 kB / 0.7537 GB, free: 63.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.6864, allocations: 8 kB / 0.7537 GB, free: 63.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01792/0.7043, allocations: 5.73 MB / 0.7593 GB, free: 57.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003347/0.7077, allocations: 0.6632 MB / 0.76 GB, free: 57.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/0.7209, allocations: 5.443 MB / 0.7653 GB, free: 51.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005247/0.7262, allocations: 0.5137 MB / 0.7658 GB, free: 51.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007685/0.727, allocations: 139.9 kB / 0.7659 GB, free: 51.17 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 409 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(62,60)} Notification: Performance of prepare postOptimizeDAE: time 0.00139/0.7284, allocations: 0.5274 MB / 0.7665 GB, free: 50.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006984/0.7291, allocations: 335.7 kB / 0.7668 GB, free: 50.31 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03296/0.7621, allocations: 10.52 MB / 0.777 GB, free: 39.72 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.021e-05/0.7621, allocations: 24 kB / 0.7771 GB, free: 39.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.7622, allocations: 7.875 kB / 0.7771 GB, free: 39.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.766e-05/0.7622, allocations: 11.95 kB / 0.7771 GB, free: 39.68 MB / 0.5137 GB 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 postOpt removeSimpleEquations (simulation): time 0.03761/0.7998, allocations: 14.63 MB / 0.7914 GB, free: 24.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.93e-05/0.7999, allocations: 0 / 0.7914 GB, free: 24.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/0.8015, allocations: 255.7 kB / 0.7916 GB, free: 24.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0154/0.8169, allocations: 4.765 MB / 0.7963 GB, free: 19.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005696/0.8175, allocations: 51.98 kB / 0.7963 GB, free: 19.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05103/0.8685, allocations: 21.44 MB / 0.8173 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.8686, allocations: 0 / 0.8173 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04262/0.9112, allocations: 12.82 MB / 0.8298 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.9125, allocations: 496.1 kB / 0.8303 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008318/0.9133, allocations: 48.88 kB / 0.8303 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00332/0.9167, allocations: 247.7 kB / 0.8305 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001941/0.9186, allocations: 0.514 MB / 0.831 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003277/0.919, allocations: 63.98 kB / 0.8311 GB, free: 15.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002943/0.9219, allocations: 1.885 MB / 0.833 GB, free: 14.03 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9219, allocations: 0 / 0.833 GB, free: 14.03 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003653/0.9256, allocations: 1.126 MB / 0.8341 GB, free: 12.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (g1.gENSAL.w,g1.gENSAL.delta,g1.gENSAL.Epq,g1.gENSAL.PSIkd,g1.gENSAL.PSIppq,g2.gENSAL.w,g2.gENSAL.delta,g2.gENSAL.Epq,g2.gENSAL.PSIkd,g2.gENSAL.PSIppq,g3.gENSAL.w,g3.gENSAL.delta,g3.gENSAL.Epq,g3.gENSAL.PSIkd,g3.gENSAL.PSIppq,g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIppq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005295/0.9261, allocations: 177.4 kB / 0.8342 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01809/0.9442, allocations: 6.158 MB / 0.8402 GB, free: 6.555 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.9443, allocations: 0 / 0.8402 GB, free: 6.555 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01215/0.9564, allocations: 3.795 MB / 0.8439 GB, free: 2.742 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/0.9591, allocations: 262.4 kB / 0.8442 GB, free: 2.484 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.9701, allocations: 6.284 MB / 0.8503 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/0.9714, allocations: 1.841 MB / 0.8521 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001431/0.9728, allocations: 292.9 kB / 0.8524 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007637/0.9736, allocations: 191.4 kB / 0.8526 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.9736, allocations: 0 / 0.8526 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of Templates: time 0.09148/1.065, allocations: 61.81 MB / 0.9129 GB, free: 12.05 MB / 0.6231 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)