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: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09901/0.09901, allocations: 12.6 MB / 28.1 MB, free: 344 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 107.5 kB / 31.7 MB, free: 3.512 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.575/1.575, allocations: 205.1 MB / 240.3 MB, free: 12.44 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.001878/0.001878, allocations: 199.4 kB / 290.6 MB, free: 11.03 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4714/0.4714, allocations: 78.51 MB / 419.2 MB, free: 10.84 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.002886/0.002887, allocations: 135.8 kB / 499.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3585, allocations: 68.12 MB / 0.5547 GB, free: 21.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01087/0.3694, allocations: 15.01 MB / 0.5693 GB, free: 6.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009604/0.3791, allocations: 4.585 MB / 0.5738 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003831/0.383, allocations: 28 kB / 0.5738 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00276/0.3859, allocations: 0.7856 MB / 0.5746 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008244/0.3941, allocations: 2.408 MB / 0.577 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004088/0.3982, allocations: 1.334 MB / 0.5783 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008873/0.4071, allocations: 4.864 MB / 0.583 GB, free: 8.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.4089, allocations: 0.7957 MB / 0.5838 GB, free: 7.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003752/0.4126, allocations: 1.879 MB / 0.5856 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004494/0.4172, allocations: 2.451 MB / 0.588 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002394/0.4196, allocations: 404 kB / 0.5884 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002994/0.4226, allocations: 0.6286 MB / 0.589 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002118/0.4247, allocations: 0.969 MB / 0.59 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004628/0.4294, allocations: 2.016 MB / 0.5919 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008485/0.4379, allocations: 5.271 MB / 0.5971 GB, free: 9.727 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.438, allocations: 4 kB / 0.5971 GB, free: 9.723 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.327e-06/0.438, allocations: 0 / 0.5971 GB, free: 9.723 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002284/0.4382, allocations: 0 / 0.5971 GB, free: 9.723 MB / 414.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.04144/0.4797, allocations: 9.507 MB / 0.6064 GB, free: 144 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.4797, allocations: 15.98 kB / 0.6064 GB, free: 128 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004625/0.4802, allocations: 282.5 kB / 0.6067 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/0.4917, allocations: 1.755 MB / 0.6084 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005065/0.4968, allocations: 2.179 MB / 0.6105 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008414/0.4976, allocations: 0.6624 MB / 0.6111 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008455/0.4985, allocations: 243.8 kB / 0.6114 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006149/0.5047, allocations: 2.689 MB / 0.614 GB, free: 8.148 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/0.5047, allocations: 0 / 0.614 GB, free: 8.148 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002343/0.505, allocations: 76 kB / 0.6141 GB, free: 8.074 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-05/0.505, allocations: 47.94 kB / 0.6141 GB, free: 8.027 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00636/0.5114, allocations: 2.834 MB / 0.6169 GB, free: 5.191 MB / 430.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.02153/0.533, allocations: 11.06 MB / 0.6277 GB, free: 9.594 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01245/0.5455, allocations: 4.971 MB / 0.6325 GB, free: 4.398 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004689/0.5502, allocations: 1.932 MB / 0.6344 GB, free: 2.473 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003094/0.5505, allocations: 45.95 kB / 0.6345 GB, free: 2.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.5506, allocations: 60.56 kB / 0.6345 GB, free: 2.359 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 5.019e-06/0.5506, allocations: 0 / 0.6345 GB, free: 2.359 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1282/0.6788, allocations: 29.55 MB / 0.6634 GB, free: 4.738 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/0.679, allocations: 77.41 kB / 0.6635 GB, free: 4.652 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004967/0.6839, allocations: 2.902 MB / 0.6663 GB, free: 1.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001122/0.6851, allocations: 85.7 kB / 0.6664 GB, free: 1.66 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001234/0.6863, allocations: 1.253 MB / 0.6676 GB, free: 400 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001738/0.6881, allocations: 0.8976 MB / 0.6685 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0015/0.6896, allocations: 0.7522 MB / 0.6692 GB, free: 14.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.6897, allocations: 305.1 kB / 0.6695 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005464/0.6952, allocations: 2.28 MB / 0.6717 GB, free: 12.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005651/0.7008, allocations: 2.679 MB / 0.6743 GB, free: 9.352 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/0.7119, allocations: 4.851 MB / 0.6791 GB, free: 4.422 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/0.712, allocations: 0 / 0.6791 GB, free: 4.422 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.3377/1.05, allocations: 7.223 MB / 0.6861 GB, free: 109.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/1.05, allocations: 8.344 kB / 0.6861 GB, free: 109.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/1.05, allocations: 8.922 kB / 0.6862 GB, free: 109.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02173/1.072, allocations: 5.743 MB / 0.6918 GB, free: 109.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003932/1.076, allocations: 0.6643 MB / 0.6924 GB, free: 109.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/1.089, allocations: 5.446 MB / 0.6977 GB, free: 106.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005357/1.094, allocations: 0.5051 MB / 0.6982 GB, free: 106.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006522/1.095, allocations: 142.6 kB / 0.6984 GB, free: 106.8 MB / 494.1 MB 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.001369/1.096, allocations: 0.517 MB / 0.6989 GB, free: 106.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008254/1.097, allocations: 334.7 kB / 0.6992 GB, free: 106.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03201/1.129, allocations: 10.52 MB / 0.7095 GB, free: 103.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.004e-05/1.129, allocations: 31.94 kB / 0.7095 GB, free: 103.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/1.129, allocations: 4 kB / 0.7095 GB, free: 103.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.587e-05/1.129, allocations: 11.95 kB / 0.7095 GB, free: 103.3 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.03706/1.166, allocations: 14.64 MB / 0.7238 GB, free: 88.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.8e-05/1.167, allocations: 3.984 kB / 0.7238 GB, free: 88.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/1.168, allocations: 257.1 kB / 0.7241 GB, free: 88.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.015/1.183, allocations: 4.777 MB / 0.7287 GB, free: 83.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000655/1.184, allocations: 51.98 kB / 0.7288 GB, free: 83.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04733/1.231, allocations: 21.49 MB / 0.7497 GB, free: 61.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.231, allocations: 0 / 0.7497 GB, free: 61.94 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03634/1.268, allocations: 12.81 MB / 0.7623 GB, free: 49.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/1.269, allocations: 0.4948 MB / 0.7627 GB, free: 48.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009445/1.27, allocations: 44 kB / 0.7628 GB, free: 48.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003124/1.273, allocations: 251.7 kB / 0.763 GB, free: 48.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001732/1.275, allocations: 0.5178 MB / 0.7635 GB, free: 47.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001975/1.275, allocations: 67.98 kB / 0.7636 GB, free: 47.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002349/1.277, allocations: 1.873 MB / 0.7654 GB, free: 45.81 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.01e-07/1.277, allocations: 0 / 0.7654 GB, free: 45.81 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003417/1.281, allocations: 1.126 MB / 0.7665 GB, free: 44.69 MB / 494.1 MB 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.03598/1.317, allocations: 13.23 MB / 0.7794 GB, free: 31.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01903/1.336, allocations: 6.219 MB / 0.7855 GB, free: 25.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.336, allocations: 0 / 0.7855 GB, free: 25.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01069/1.347, allocations: 3.797 MB / 0.7892 GB, free: 21.33 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/1.349, allocations: 269.8 kB / 0.7895 GB, free: 21.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07879/1.428, allocations: 43.27 MB / 0.8317 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001701/1.43, allocations: 1.845 MB / 0.8335 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001622/1.431, allocations: 296.8 kB / 0.8338 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002127/1.433, allocations: 1.39 MB / 0.8352 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of SimCode: time 1.052e-06/1.433, allocations: 0 / 0.8352 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4708/1.904, allocations: 88.59 MB / 0.9217 GB, free: 197.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/15.72, allocations: 13 kB / 0.9217 GB, free: 197.4 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)