Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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_matrixEqCirc2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",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.0008457/0.0008457, allocations: 89.92 kB / 16.31 MB, free: 5.551 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.001026/0.001026, allocations: 178.8 kB / 17.21 MB, free: 5.469 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.411/1.411, allocations: 223.2 MB / 241.2 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1863/0.1863, allocations: 38.1 MB / 330.4 MB, free: 8.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003442, allocations: 8 kB / 400.2 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1311, allocations: 59.16 MB / 459.3 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002324/0.1335, allocations: 1.725 MB / 461.1 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007046/0.1342, allocations: 499.1 kB / 461.5 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.1342, allocations: 0 / 461.5 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.1344, allocations: 15.86 kB / 461.6 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.485e-05/0.1345, allocations: 23.91 kB / 461.6 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.1348, allocations: 55.86 kB / 461.6 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.1349, allocations: 91.7 kB / 461.7 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.836e-05/0.135, allocations: 4 kB / 461.7 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.88e-05/0.135, allocations: 27.86 kB / 461.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.418e-05/0.1351, allocations: 27.91 kB / 461.8 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.1351, allocations: 0 / 461.8 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.1353, allocations: 55.86 kB / 461.8 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.591e-05/0.1353, allocations: 23.92 kB / 461.9 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.1354, allocations: 33.64 kB / 461.9 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.1355, allocations: 72.12 kB / 462 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1355, allocations: 4 kB / 462 MB, free: 4.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1355, allocations: 4 kB / 462 MB, free: 4.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.1355, allocations: 0 / 462 MB, free: 4.668 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004323/0.136, allocations: 432.6 kB / 462.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.136, allocations: 8.031 kB / 462.4 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.1361, allocations: 42.55 kB / 462.4 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.1361, allocations: 7.906 kB / 462.5 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.1363, allocations: 182.8 kB / 462.6 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1363, allocations: 4 kB / 462.6 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.1364, allocations: 7.938 kB / 462.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1365, allocations: 89.67 kB / 462.7 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1365, allocations: 0 / 462.7 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.1365, allocations: 3.938 kB / 462.7 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1366, allocations: 4 kB / 462.7 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.001e-05/0.1366, allocations: 55.97 kB / 462.8 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.1368, allocations: 185.4 kB / 463 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.137, allocations: 94.56 kB / 463.1 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.324e-05/0.137, allocations: 88.86 kB / 463.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.1371, allocations: 7.953 kB / 463.2 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.1371, allocations: 30.56 kB / 463.2 MB, free: 3.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.152e-06/0.1371, allocations: 0 / 463.2 MB, free: 3.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004298/0.1375, allocations: 299.3 kB / 463.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.1376, allocations: 97.09 kB / 463.6 MB, free: 2.852 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.1377, allocations: 136.2 kB / 463.7 MB, free: 2.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.1378, allocations: 25.7 kB / 463.7 MB, free: 2.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.1378, allocations: 100.6 kB / 463.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.716e-05/0.1379, allocations: 74.91 kB / 463.9 MB, free: 2.504 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.1379, allocations: 0 / 463.9 MB, free: 2.504 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1381, allocations: 322.8 kB / 464.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.387e-05/0.1381, allocations: 55.98 kB / 464.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.57e-05/0.1382, allocations: 59.97 kB / 464.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.1384, allocations: 123.5 kB / 464.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1384, allocations: 0 / 464.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002417/0.1386, allocations: 218.4 kB / 464.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.366e-05/0.1387, allocations: 73.61 kB / 464.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1387, allocations: 8 kB / 464.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1387, allocations: 0 / 464.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-07/0.1387, allocations: 0 / 464.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1387, allocations: 0 / 464.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.615e-05/0.1388, allocations: 11.84 kB / 464.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.1388, allocations: 8 kB / 464.8 MB, free: 1.613 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001918/0.139, allocations: 187.5 kB / 465 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.139, allocations: 19.8 kB / 465 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.713e-05/0.1391, allocations: 13.14 kB / 465 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1391, allocations: 4 kB / 465 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1391, allocations: 3.938 kB / 465 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1391, allocations: 0 / 465 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.1393, allocations: 201.5 kB / 465.2 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1393, allocations: 3.938 kB / 465.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.1393, allocations: 0 / 465.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1393, allocations: 0 / 465.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.1393, allocations: 12 kB / 465.2 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.1393, allocations: 3.953 kB / 465.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1393, allocations: 0 / 465.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005598/0.1399, allocations: 0.5061 MB / 465.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.1399, allocations: 92.86 kB / 465.8 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.14, allocations: 4 kB / 465.8 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.338e-05/0.14, allocations: 4 kB / 465.8 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.14, allocations: 3.953 kB / 465.8 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.1401, allocations: 8 kB / 465.8 MB, free: 460 kB / 334.1 MB Notification: Performance of sorting global known variables: time 7.379e-05/0.1401, allocations: 105.6 kB / 465.9 MB, free: 356 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1401, allocations: 0 / 465.9 MB, free: 356 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.1404, allocations: 44.03 kB / 466 MB, free: 312 kB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009223/0.1413, allocations: 1.047 MB / 467 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007144/0.142, allocations: 0.7061 MB / 467.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1421, allocations: 0 / 467.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004835/0.1425, allocations: 0.5697 MB / 468.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.1428, allocations: 24.02 kB / 468.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.1445, allocations: 1.263 MB / 469.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.1449, allocations: 0.7202 MB / 470.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.998e-05/0.1449, allocations: 7.938 kB / 470.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.1449, allocations: 27.42 kB / 470.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1449, allocations: 0 / 470.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.1603, allocations: 3.205 MB / 473.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003185/0.1606, allocations: 199.8 kB / 473.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.049/2.21, allocations: 3.25 kB / 473.7 MB, free: 8.531 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat does not exist to compare? outputFormat=mat