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.00116/0.00116, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.517/1.517, allocations: 222.9 MB / 238.9 MB, free: 4.738 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.00169/0.001691, allocations: 192.5 kB / 289.1 MB, free: 2.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5555/0.5555, allocations: 91.89 MB / 431.2 MB, free: 9.434 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 79.88 kB / 0.5013 GB, free: 8.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.464/0.4657, allocations: 71.26 MB / 0.5709 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01627/0.4821, allocations: 15.78 MB / 0.5863 GB, free: 26.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01423/0.4964, allocations: 4.708 MB / 0.5909 GB, free: 22.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006412/0.5029, allocations: 33.53 kB / 0.5909 GB, free: 22.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004795/0.5077, allocations: 0.6248 MB / 0.5916 GB, free: 22.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.5186, allocations: 1.667 MB / 0.5932 GB, free: 21.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00603/0.5246, allocations: 1.326 MB / 0.5945 GB, free: 20.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01363/0.5383, allocations: 4.24 MB / 0.5986 GB, free: 18.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003525/0.5419, allocations: 0.7101 MB / 0.5993 GB, free: 18.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006422/0.5484, allocations: 1.589 MB / 0.6009 GB, free: 17.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006147/0.5546, allocations: 2.195 MB / 0.603 GB, free: 16.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002981/0.5576, allocations: 213.3 kB / 0.6032 GB, free: 16.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00446/0.5621, allocations: 437.3 kB / 0.6036 GB, free: 16.26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002763/0.5649, allocations: 0.7614 MB / 0.6044 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007318/0.5723, allocations: 1.779 MB / 0.6061 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.5835, allocations: 5.057 MB / 0.6111 GB, free: 12.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.387e-05/0.5835, allocations: 0.8438 kB / 0.6111 GB, free: 12.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.5836, allocations: 4 kB / 0.6111 GB, free: 12.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003075/0.5839, allocations: 1.344 kB / 0.6111 GB, free: 12.52 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.03944/0.6233, allocations: 8.154 MB / 0.619 GB, free: 9.582 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.6234, allocations: 9.406 kB / 0.619 GB, free: 9.582 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005316/0.6239, allocations: 287.2 kB / 0.6193 GB, free: 9.402 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/0.6363, allocations: 1.753 MB / 0.621 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005997/0.6424, allocations: 2.167 MB / 0.6231 GB, free: 7.414 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007737/0.6432, allocations: 0.6678 MB / 0.6238 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001053/0.6442, allocations: 242.2 kB / 0.624 GB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006306/0.6506, allocations: 2.687 MB / 0.6266 GB, free: 5.238 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.154e-05/0.6506, allocations: 0 / 0.6266 GB, free: 5.238 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000244/0.6509, allocations: 79.53 kB / 0.6267 GB, free: 5.176 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.696e-05/0.6509, allocations: 50.53 kB / 0.6268 GB, free: 5.172 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005834/0.6568, allocations: 2.839 MB / 0.6295 GB, free: 2.562 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.02788/0.6847, allocations: 11.06 MB / 0.6403 GB, free: 6.965 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01283/0.6976, allocations: 4.971 MB / 0.6452 GB, free: 1.777 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004944/0.7026, allocations: 1.935 MB / 0.6471 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005779/0.7032, allocations: 45.95 kB / 0.6471 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.994e-05/0.7033, allocations: 60.56 kB / 0.6472 GB, free: 15.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=249): time 6.071e-06/0.7033, allocations: 0 / 0.6472 GB, free: 15.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=249): time 0.131/0.8343, allocations: 29.55 MB / 0.676 GB, free: 2.105 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/0.8344, allocations: 73.41 kB / 0.6761 GB, free: 2.023 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007294/0.8417, allocations: 2.906 MB / 0.6789 GB, free: 15.12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001351/0.8431, allocations: 81.7 kB / 0.679 GB, free: 15.03 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001695/0.8448, allocations: 1.264 MB / 0.6803 GB, free: 13.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002349/0.8472, allocations: 0.8935 MB / 0.6811 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004773/0.852, allocations: 0.7522 MB / 0.6819 GB, free: 12.08 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.8521, allocations: 301.1 kB / 0.6822 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00633/0.8585, allocations: 2.28 MB / 0.6844 GB, free: 9.496 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006584/0.8651, allocations: 2.677 MB / 0.687 GB, free: 6.727 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/0.8768, allocations: 4.855 MB / 0.6917 GB, free: 1.793 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.24e-05/0.8769, allocations: 0 / 0.6917 GB, free: 1.793 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.02065/0.8975, allocations: 7.216 MB / 0.6988 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.8976, allocations: 11.94 kB / 0.6988 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.8977, allocations: 8 kB / 0.6988 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01912/0.9168, allocations: 5.738 MB / 0.7044 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004053/0.9209, allocations: 0.6631 MB / 0.705 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01661/0.9376, allocations: 5.45 MB / 0.7104 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006725/0.9443, allocations: 0.504 MB / 0.7109 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001252/0.9456, allocations: 140 kB / 0.711 GB, free: 14.01 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.002803/0.9485, allocations: 0.5168 MB / 0.7115 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001782/0.9503, allocations: 335.7 kB / 0.7118 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03598/0.9863, allocations: 10.52 MB / 0.7221 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-05/0.9863, allocations: 27.94 kB / 0.7221 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/0.9864, allocations: 4 kB / 0.7221 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.603e-05/0.9865, allocations: 15.95 kB / 0.7221 GB, free: 2.504 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.04815/1.035, allocations: 14.65 MB / 0.7365 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.027e-05/1.035, allocations: 0 / 0.7365 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001903/1.037, allocations: 255.7 kB / 0.7367 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01655/1.053, allocations: 4.769 MB / 0.7414 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00111/1.054, allocations: 51.98 kB / 0.7414 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05773/1.112, allocations: 19.6 MB / 0.7605 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.112, allocations: 4 kB / 0.7605 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.383/1.495, allocations: 12.81 MB / 0.7731 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002388/1.498, allocations: 499.3 kB / 0.7735 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002742/1.5, allocations: 48.94 kB / 0.7736 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006132/1.507, allocations: 244 kB / 0.7738 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003412/1.51, allocations: 0.5058 MB / 0.7743 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009076/1.511, allocations: 63.66 kB / 0.7744 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004664/1.516, allocations: 1.879 MB / 0.7762 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.12e-07/1.516, allocations: 0 / 0.7762 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007711/1.523, allocations: 1.119 MB / 0.7773 GB, free: 161.5 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.04154/1.565, allocations: 13.23 MB / 0.7902 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01999/1.585, allocations: 6.09 MB / 0.7962 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/1.585, allocations: 3.312 kB / 0.7962 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01219/1.597, allocations: 3.705 MB / 0.7998 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00357/1.601, allocations: 265.4 kB / 0.8 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09429/1.695, allocations: 44.31 MB / 0.8433 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/1.696, allocations: 1.847 MB / 0.8451 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001834/1.698, allocations: 294.2 kB / 0.8454 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001999/1.7, allocations: 1.382 MB / 0.8467 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.253e-06/1.7, allocations: 4 kB / 0.8467 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1213/1.821, allocations: 82.44 MB / 0.9273 GB, free: 36.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/1.822, allocations: 211.6 kB / 0.9275 GB, free: 36.71 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.204/7.026, allocations: 0 / 0.9275 GB, free: 36.71 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)