Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.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: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.388/1.388, allocations: 222.9 MB / 239 MB, free: 4.734 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.001483/0.001483, allocations: 196.3 kB / 289.3 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.539/0.539, allocations: 91.89 MB / 431.3 MB, free: 9.402 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 79.88 kB / 0.5015 GB, free: 7.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4059, allocations: 71.27 MB / 0.5711 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01176/0.4177, allocations: 15.79 MB / 0.5865 GB, free: 25.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009543/0.4273, allocations: 4.7 MB / 0.5911 GB, free: 22.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00374/0.4311, allocations: 32.62 kB / 0.5911 GB, free: 22.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003005/0.4341, allocations: 0.6212 MB / 0.5917 GB, free: 22.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007088/0.4413, allocations: 1.643 MB / 0.5933 GB, free: 21.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003648/0.4449, allocations: 1.328 MB / 0.5946 GB, free: 20.49 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006941/0.4519, allocations: 4.494 MB / 0.599 GB, free: 18.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/0.4537, allocations: 0.7986 MB / 0.5998 GB, free: 17.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003209/0.457, allocations: 1.814 MB / 0.6016 GB, free: 16.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003677/0.4607, allocations: 2.368 MB / 0.6039 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001802/0.4625, allocations: 403.4 kB / 0.6043 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0026/0.4651, allocations: 0.6419 MB / 0.6049 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001629/0.4668, allocations: 0.9399 MB / 0.6058 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003875/0.4707, allocations: 1.988 MB / 0.6078 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008969/0.4796, allocations: 5.209 MB / 0.6128 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.4797, allocations: 4.844 kB / 0.6128 GB, free: 11.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.4797, allocations: 1.375 kB / 0.6128 GB, free: 11.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002538/0.48, allocations: 0 / 0.6128 GB, free: 11.36 MB / 430.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.03754/0.5175, allocations: 8.151 MB / 0.6208 GB, free: 8.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.5176, allocations: 10.09 kB / 0.6208 GB, free: 8.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001286/0.5189, allocations: 286.5 kB / 0.6211 GB, free: 8.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01262/0.5315, allocations: 1.757 MB / 0.6228 GB, free: 7.855 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006108/0.5377, allocations: 2.168 MB / 0.6249 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008656/0.5386, allocations: 0.6638 MB / 0.6256 GB, free: 5.691 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001403/0.54, allocations: 246.7 kB / 0.6258 GB, free: 5.602 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008673/0.5487, allocations: 2.685 MB / 0.6284 GB, free: 3.836 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-05/0.5488, allocations: 0 / 0.6284 GB, free: 3.836 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006453/0.5495, allocations: 87.94 kB / 0.6285 GB, free: 3.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.162e-05/0.5495, allocations: 44 kB / 0.6286 GB, free: 3.707 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006872/0.5564, allocations: 2.826 MB / 0.6313 GB, free: 0.8789 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.02601/0.5824, allocations: 11.07 MB / 0.6421 GB, free: 5.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.013/0.5955, allocations: 4.971 MB / 0.647 GB, free: 88 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00471/0.6002, allocations: 1.935 MB / 0.6489 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004702/0.6007, allocations: 45.88 kB / 0.6489 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/0.6008, allocations: 56.56 kB / 0.649 GB, free: 14.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=249): time 5.701e-06/0.6008, allocations: 0 / 0.649 GB, free: 14.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=249): time 0.1314/0.7322, allocations: 29.55 MB / 0.6778 GB, free: 424 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.7323, allocations: 77.41 kB / 0.6779 GB, free: 336 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006539/0.7388, allocations: 2.906 MB / 0.6807 GB, free: 13.42 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001138/0.74, allocations: 81.7 kB / 0.6808 GB, free: 13.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001597/0.7416, allocations: 1.256 MB / 0.682 GB, free: 12.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001988/0.7436, allocations: 0.8974 MB / 0.6829 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003889/0.7475, allocations: 0.7522 MB / 0.6837 GB, free: 10.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.7477, allocations: 301.1 kB / 0.6839 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005844/0.7535, allocations: 2.28 MB / 0.6862 GB, free: 7.805 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006169/0.7597, allocations: 2.677 MB / 0.6888 GB, free: 5.035 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01157/0.7713, allocations: 4.843 MB / 0.6935 GB, free: 116 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.112e-05/0.7714, allocations: 3.938 kB / 0.6935 GB, free: 112 kB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.02065/0.7921, allocations: 7.232 MB / 0.7006 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.7921, allocations: 7.938 kB / 0.7006 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.7922, allocations: 8.688 kB / 0.7006 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02032/0.8125, allocations: 5.737 MB / 0.7062 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003829/0.8164, allocations: 0.6631 MB / 0.7068 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01594/0.8323, allocations: 5.45 MB / 0.7122 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006288/0.8387, allocations: 0.5118 MB / 0.7127 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001117/0.8398, allocations: 136 kB / 0.7128 GB, free: 12.32 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.00245/0.8423, allocations: 0.5207 MB / 0.7133 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001683/0.844, allocations: 331.7 kB / 0.7136 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03707/0.8811, allocations: 10.52 MB / 0.7239 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.096e-05/0.8812, allocations: 31.94 kB / 0.7239 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.8812, allocations: 0 / 0.7239 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.059e-05/0.8813, allocations: 11.95 kB / 0.7239 GB, free: 0.8164 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.04786/0.9291, allocations: 14.65 MB / 0.7382 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.263e-05/0.9292, allocations: 0 / 0.7382 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001901/0.9311, allocations: 259.6 kB / 0.7385 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01676/0.9479, allocations: 4.777 MB / 0.7432 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008371/0.9488, allocations: 51.98 kB / 0.7432 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05883/1.008, allocations: 21.47 MB / 0.7642 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.008, allocations: 4 kB / 0.7642 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3278/1.335, allocations: 12.81 MB / 0.7767 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/1.337, allocations: 495.9 kB / 0.7772 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001817/1.339, allocations: 48 kB / 0.7772 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00459/1.344, allocations: 252.5 kB / 0.7774 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002515/1.346, allocations: 0.5165 MB / 0.7779 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006888/1.347, allocations: 65.33 kB / 0.778 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003804/1.351, allocations: 1.874 MB / 0.7798 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3e-07/1.351, allocations: 0 / 0.7798 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005728/1.356, allocations: 1.125 MB / 0.7809 GB, free: 162.3 MB / 0.5606 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.04586/1.402, allocations: 13.23 MB / 0.7939 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02386/1.426, allocations: 6.227 MB / 0.7999 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.426, allocations: 0 / 0.7999 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01328/1.44, allocations: 3.798 MB / 0.8036 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005486/1.445, allocations: 265.3 kB / 0.8039 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1034/1.549, allocations: 44.31 MB / 0.8472 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001672/1.55, allocations: 1.841 MB / 0.849 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001942/1.552, allocations: 296.9 kB / 0.8493 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00224/1.554, allocations: 1.394 MB / 0.8506 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.353e-06/1.555, allocations: 3.062 kB / 0.8506 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.144/1.699, allocations: 85.97 MB / 0.9346 GB, free: 29.47 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/1.699, allocations: 218.8 kB / 0.9348 GB, free: 29.22 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.188/6.887, allocations: 0 / 0.9348 GB, free: 29.22 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)