Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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/Complex 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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",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.001161/0.001161, allocations: 107.2 kB / 16.92 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 191.5 kB / 17.85 MB, free: 5.168 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.351/1.351, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1778/0.1778, allocations: 38 MB / 329.7 MB, free: 8.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 65.92 kB / 398.9 MB, free: 33.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.106, allocations: 58.06 MB / 457 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003849/0.1099, allocations: 2.035 MB / 459 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007903/0.1108, allocations: 0.526 MB / 459.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.362e-05/0.1108, allocations: 0 / 459.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.111, allocations: 7.922 kB / 459.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.1112, allocations: 27.84 kB / 459.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.1116, allocations: 67.83 kB / 459.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.1117, allocations: 63.7 kB / 459.7 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.346e-05/0.1118, allocations: 4 kB / 459.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.1119, allocations: 35.84 kB / 459.7 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.108e-05/0.112, allocations: 23.91 kB / 459.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.112, allocations: 0 / 459.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.1122, allocations: 83.83 kB / 459.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.971e-05/0.1123, allocations: 39.86 kB / 459.9 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.422e-05/0.1124, allocations: 47.55 kB / 459.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.1126, allocations: 147.7 kB / 460.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1126, allocations: 0 / 460.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1126, allocations: 0 / 460.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1127, allocations: 0 / 460.1 MB, free: 4.824 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004609/0.1131, allocations: 487.4 kB / 460.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1132, allocations: 15.89 kB / 460.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.915e-05/0.1132, allocations: 42.73 kB / 460.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.1133, allocations: 16.75 kB / 460.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.1135, allocations: 206.5 kB / 460.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1135, allocations: 0 / 460.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.1135, allocations: 4 kB / 460.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.1137, allocations: 126.6 kB / 460.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.1137, allocations: 0 / 460.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1137, allocations: 4 kB / 460.9 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1137, allocations: 0 / 460.9 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.847e-05/0.1138, allocations: 92.3 kB / 461 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.114, allocations: 206 kB / 461.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.1141, allocations: 150.8 kB / 461.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.1142, allocations: 141.2 kB / 461.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.1143, allocations: 0 / 461.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.1143, allocations: 38.56 kB / 461.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 8.31e-07/0.1143, allocations: 0 / 461.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005663/0.1149, allocations: 479.6 kB / 462 MB, free: 2.676 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.1149, allocations: 105.1 kB / 462.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.1151, allocations: 142.4 kB / 462.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.1151, allocations: 33.7 kB / 462.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.1152, allocations: 96.73 kB / 462.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.1153, allocations: 129.9 kB / 462.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.1153, allocations: 41.72 kB / 462.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1155, allocations: 342.7 kB / 462.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.832e-05/0.1156, allocations: 87.97 kB / 463 MB, free: 1.652 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.391e-05/0.1157, allocations: 92.95 kB / 463.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.116, allocations: 368.3 kB / 463.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.116, allocations: 0 / 463.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003117/0.1163, allocations: 319.1 kB / 463.7 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.171e-05/0.1164, allocations: 89.62 kB / 463.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1164, allocations: 0 / 463.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1164, allocations: 64 / 463.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.745e-06/0.1164, allocations: 4 kB / 463.8 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1165, allocations: 3.938 kB / 463.8 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.1165, allocations: 19.75 kB / 463.9 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.1165, allocations: 8 kB / 463.9 MB, free: 0.7344 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002499/0.1168, allocations: 235.3 kB / 464.1 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.1169, allocations: 19.81 kB / 464.1 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.113e-05/0.1169, allocations: 13.95 kB / 464.1 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1169, allocations: 0 / 464.1 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.1169, allocations: 7.984 kB / 464.1 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1169, allocations: 4 kB / 464.1 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.1171, allocations: 237.1 kB / 464.4 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1171, allocations: 0 / 464.4 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-07/0.1171, allocations: 0 / 464.4 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1171, allocations: 0 / 464.4 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.1171, allocations: 8 kB / 464.4 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1171, allocations: 3.984 kB / 464.4 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1172, allocations: 0 / 464.4 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009182/0.1181, allocations: 0.9004 MB / 465.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.1181, allocations: 96.77 kB / 465.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.1182, allocations: 8 kB / 465.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.285e-05/0.1182, allocations: 7.938 kB / 465.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.1182, allocations: 8 kB / 465.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.1183, allocations: 8 kB / 465.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.446e-05/0.1184, allocations: 118.2 kB / 465.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1184, allocations: 0 / 465.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1186, allocations: 63.98 kB / 465.6 MB, free: 14.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001266/0.1199, allocations: 1.465 MB / 467.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.1211, allocations: 1.589 MB / 468.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1211, allocations: 0 / 468.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009099/0.122, allocations: 1.37 MB / 470 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.1223, allocations: 36.03 kB / 470 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.1256, allocations: 3.419 MB / 473.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.126, allocations: 0.7439 MB / 474.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.432e-05/0.126, allocations: 4.188 kB / 474.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.126, allocations: 43.42 kB / 474.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1261, allocations: 0 / 474.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.1484, allocations: 4.795 MB / 479.1 MB, free: 1.363 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.185/7.333, allocations: 11.94 kB / 479.1 MB, free: 1.352 MB / 350.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1)