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/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/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/package.mo): time 0.08745/0.08746, allocations: 12.21 MB / 27.16 MB, free: 112 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.001061/0.001061, allocations: 111.6 kB / 30.67 MB, free: 6.426 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.562/1.562, allocations: 205.4 MB / 239.5 MB, free: 10.68 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.00113/0.00113, allocations: 177.1 kB / 290.6 MB, free: 8.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.436/0.436, allocations: 78.5 MB / 420.1 MB, free: 6.602 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.0009094/0.0009096, allocations: 37.22 kB / 0.4895 GB, free: 38.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1374, allocations: 69.23 MB / 0.5571 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01274/0.1502, allocations: 13.24 MB / 0.57 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009782/0.16, allocations: 4.577 MB / 0.5745 GB, free: 6.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003178/0.1633, allocations: 32 kB / 0.5745 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002689/0.166, allocations: 0.547 MB / 0.5751 GB, free: 6.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008249/0.1742, allocations: 2.166 MB / 0.5772 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003257/0.1775, allocations: 1.097 MB / 0.5782 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007191/0.1847, allocations: 3.057 MB / 0.5812 GB, free: 44 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.1864, allocations: 0.6556 MB / 0.5819 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002962/0.1894, allocations: 1.549 MB / 0.5834 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003849/0.1933, allocations: 2.109 MB / 0.5854 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001406/0.1947, allocations: 184 kB / 0.5856 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.1968, allocations: 383.8 kB / 0.586 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001592/0.1984, allocations: 0.7158 MB / 0.5867 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001652/0.2001, allocations: 0.6052 MB / 0.5873 GB, free: 9.797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005216/0.2053, allocations: 3.962 MB / 0.5911 GB, free: 5.824 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2054, allocations: 0 / 0.5911 GB, free: 5.824 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2054, allocations: 0 / 0.5911 GB, free: 5.824 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002005/0.2056, allocations: 4 kB / 0.5911 GB, free: 5.82 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.03728/0.2429, allocations: 9.12 MB / 0.6001 GB, free: 12.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.2429, allocations: 15.92 kB / 0.6001 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009535/0.2439, allocations: 290.5 kB / 0.6003 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/0.2554, allocations: 1.759 MB / 0.6021 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005084/0.2605, allocations: 2.057 MB / 0.6041 GB, free: 8.441 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008716/0.2614, allocations: 0.6976 MB / 0.6048 GB, free: 7.648 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006902/0.2621, allocations: 235.9 kB / 0.605 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006286/0.2684, allocations: 2.834 MB / 0.6077 GB, free: 4.574 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/0.2685, allocations: 3.984 kB / 0.6078 GB, free: 4.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/0.2688, allocations: 76 kB / 0.6078 GB, free: 4.496 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-05/0.2688, allocations: 51.89 kB / 0.6079 GB, free: 4.445 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007228/0.2761, allocations: 3.025 MB / 0.6108 GB, free: 1.418 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.02141/0.2975, allocations: 11.71 MB / 0.6223 GB, free: 5.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01281/0.3104, allocations: 5.662 MB / 0.6278 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005194/0.3109, allocations: 45.95 kB / 0.6278 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.311, allocations: 60.56 kB / 0.6279 GB, free: 15.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=249): time 4.228e-06/0.311, allocations: 0 / 0.6279 GB, free: 15.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=249): time 0.4241/0.7351, allocations: 35.5 MB / 0.6626 GB, free: 88.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.818e-05/0.7353, allocations: 81.91 kB / 0.6626 GB, free: 88.63 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005748/0.7411, allocations: 2.874 MB / 0.6654 GB, free: 88.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009779/0.7421, allocations: 84.64 kB / 0.6655 GB, free: 88.37 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009589/0.743, allocations: 1.256 MB / 0.6668 GB, free: 88.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001046/0.7441, allocations: 0.8991 MB / 0.6676 GB, free: 87.76 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/0.7443, allocations: 85.12 kB / 0.6677 GB, free: 87.76 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.7445, allocations: 466.5 kB / 0.6682 GB, free: 87.45 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004921/0.7494, allocations: 2.444 MB / 0.6705 GB, free: 87.43 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005686/0.7551, allocations: 2.818 MB / 0.6733 GB, free: 87.16 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005554/0.7607, allocations: 2.636 MB / 0.6759 GB, free: 86.47 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/0.7607, allocations: 1.656 kB / 0.6759 GB, free: 86.47 MB / 478.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01463/0.7754, allocations: 7.705 MB / 0.6834 GB, free: 83.53 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.7754, allocations: 7.906 kB / 0.6834 GB, free: 83.53 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.7755, allocations: 8.562 kB / 0.6834 GB, free: 83.53 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01838/0.7938, allocations: 6.5 MB / 0.6898 GB, free: 82.49 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003295/0.7972, allocations: 0.6674 MB / 0.6904 GB, free: 82.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/0.8102, allocations: 6.138 MB / 0.6964 GB, free: 76.33 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004834/0.8151, allocations: 0.6055 MB / 0.697 GB, free: 75.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005893/0.8157, allocations: 132 kB / 0.6971 GB, free: 75.59 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {62 60} Notification: Performance of prepare postOptimizeDAE: time 0.001592/0.8173, allocations: 0.5323 MB / 0.6976 GB, free: 75.05 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008662/0.8182, allocations: 331.8 kB / 0.698 GB, free: 74.72 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03351/0.8517, allocations: 12.84 MB / 0.7105 GB, free: 61.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.933e-05/0.8518, allocations: 28 kB / 0.7105 GB, free: 61.77 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.8518, allocations: 4 kB / 0.7105 GB, free: 61.77 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.063e-05/0.8519, allocations: 11.95 kB / 0.7105 GB, free: 61.76 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 postOpt removeSimpleEquations (simulation): time 0.03803/0.8899, allocations: 16.97 MB / 0.7271 GB, free: 44.56 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/0.89, allocations: 0 / 0.7271 GB, free: 44.56 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/0.8915, allocations: 259.6 kB / 0.7274 GB, free: 44.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01536/0.9069, allocations: 5.577 MB / 0.7328 GB, free: 38.73 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005911/0.9075, allocations: 55.98 kB / 0.7329 GB, free: 38.67 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05067/0.9582, allocations: 23.24 MB / 0.7556 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.9582, allocations: 4 kB / 0.7556 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0388/0.997, allocations: 15.31 MB / 0.7705 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/0.9984, allocations: 0.4922 MB / 0.771 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007162/0.9991, allocations: 57.05 kB / 0.771 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002947/1.002, allocations: 340.6 kB / 0.7714 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001613/1.004, allocations: 0.5176 MB / 0.7719 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/1.004, allocations: 63.98 kB / 0.7719 GB, free: 14.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002433/1.006, allocations: 1.852 MB / 0.7737 GB, free: 12.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.006, allocations: 4 kB / 0.7737 GB, free: 12.58 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003007/1.009, allocations: 1.123 MB / 0.7748 GB, free: 11.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.04077/1.05, allocations: 15.68 MB / 0.7902 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01763/1.068, allocations: 6.813 MB / 0.7968 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/1.068, allocations: 0 / 0.7968 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01145/1.079, allocations: 4.271 MB / 0.801 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/1.081, allocations: 227.8 kB / 0.8012 GB, free: 360 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/1.095, allocations: 12.12 MB / 0.813 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/1.096, allocations: 1.914 MB / 0.8149 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001087/1.097, allocations: 288.9 kB / 0.8152 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/1.099, allocations: 1.382 MB / 0.8165 GB, free: 332 kB / 0.5137 GB Notification: Performance of SimCode: time 9.22e-07/1.099, allocations: 0 / 0.8165 GB, free: 332 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3535/1.452, allocations: 78.3 MB / 0.893 GB, free: 193.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/1.452, allocations: 202.8 kB / 0.8932 GB, free: 192.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.312/5.764, allocations: 4 kB / 0.8932 GB, free: 192.9 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/linux/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) Environment - environmentSimulation: