Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",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.001043/0.001043, allocations: 107.5 kB / 16.92 MB, free: 5.785 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.001058/0.001058, allocations: 191.3 kB / 17.85 MB, free: 5.191 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.325/1.325, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1821/0.1821, allocations: 38.03 MB / 329.7 MB, free: 8.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001864, allocations: 60.06 kB / 398.9 MB, free: 33.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1078, allocations: 58.06 MB / 457 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003901/0.1118, allocations: 2.035 MB / 459 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008698/0.1127, allocations: 0.526 MB / 459.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.987e-05/0.1128, allocations: 4 kB / 459.5 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.1129, allocations: 7.922 kB / 459.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.1131, allocations: 27.83 kB / 459.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.1135, allocations: 63.84 kB / 459.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.1136, allocations: 67.7 kB / 459.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.567e-05/0.1137, allocations: 0 / 459.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.042e-05/0.1138, allocations: 35.84 kB / 459.7 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.852e-05/0.1139, allocations: 27.91 kB / 459.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.1139, allocations: 3.938 kB / 459.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.1141, allocations: 79.83 kB / 459.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.1142, allocations: 23.92 kB / 459.9 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.1142, allocations: 15.81 kB / 459.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.1144, allocations: 108 kB / 460 MB, free: 4.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1144, allocations: 0 / 460 MB, free: 4.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1144, allocations: 0 / 460 MB, free: 4.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1144, allocations: 0 / 460 MB, free: 4.906 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004663/0.1149, allocations: 401 kB / 460.4 MB, free: 4.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.115, allocations: 11.89 kB / 460.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/0.115, allocations: 38.69 kB / 460.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.1151, allocations: 4.844 kB / 460.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.1153, allocations: 180.2 kB / 460.6 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.1153, allocations: 4.312 kB / 460.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.1153, allocations: 7.938 kB / 460.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1155, allocations: 61.67 kB / 460.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1155, allocations: 0 / 460.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1155, allocations: 8 kB / 460.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1155, allocations: 0 / 460.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.185e-05/0.1156, allocations: 31.92 kB / 460.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.1157, allocations: 169.5 kB / 460.9 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.326e-05/0.1158, allocations: 58.5 kB / 460.9 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.573e-05/0.1159, allocations: 44.88 kB / 461 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.999e-06/0.1159, allocations: 0 / 461 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.1159, allocations: 34.56 kB / 461 MB, free: 3.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 9.22e-07/0.1159, allocations: 4 kB / 461 MB, free: 3.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002957/0.1162, allocations: 183.4 kB / 461.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.1163, allocations: 89.05 kB / 461.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.1164, allocations: 121.8 kB / 461.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.1164, allocations: 25.7 kB / 461.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.1165, allocations: 88.14 kB / 461.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.268e-05/0.1165, allocations: 39.36 kB / 461.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.1166, allocations: 25.73 kB / 461.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1167, allocations: 318.8 kB / 461.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.55e-05/0.1168, allocations: 27.98 kB / 461.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.508e-05/0.1168, allocations: 31.98 kB / 461.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.1169, allocations: 148.2 kB / 462.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.117, allocations: 4 kB / 462.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001723/0.1171, allocations: 155.1 kB / 462.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.152e-05/0.1172, allocations: 49.67 kB / 462.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1172, allocations: 0 / 462.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1172, allocations: 4.062 kB / 462.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.1172, allocations: 3.938 kB / 462.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1172, allocations: 0 / 462.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/0.1173, allocations: 4 kB / 462.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.1173, allocations: 4 kB / 462.3 MB, free: 2.297 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.0001289/0.1174, allocations: 167.5 kB / 462.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.1175, allocations: 7.906 kB / 462.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.794e-05/0.1175, allocations: 16.36 kB / 462.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1175, allocations: 0 / 462.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1175, allocations: 4 kB / 462.5 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1175, allocations: 0 / 462.5 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.1176, allocations: 185.4 kB / 462.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1176, allocations: 0 / 462.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1177, allocations: 0 / 462.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1177, allocations: 0 / 462.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1177, allocations: 4 kB / 462.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1177, allocations: 0 / 462.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1177, allocations: 3.984 kB / 462.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.118, allocations: 283.4 kB / 463 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.118, allocations: 88.95 kB / 463.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.1181, allocations: 3.984 kB / 463.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.01e-05/0.1181, allocations: 4 kB / 463.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.1181, allocations: 4 kB / 463.1 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.1181, allocations: 4 kB / 463.1 MB, free: 1.426 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.456e-05/0.1182, allocations: 95.2 kB / 463.2 MB, free: 1.332 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1182, allocations: 0 / 463.2 MB, free: 1.332 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.1184, allocations: 32 kB / 463.2 MB, free: 1.301 MB / 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 (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.0006604/0.1191, allocations: 0.8287 MB / 464 MB, free: 448 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003225/0.1194, allocations: 295.3 kB / 464.3 MB, free: 140 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1195, allocations: 0 / 464.3 MB, free: 140 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.1196, allocations: 223.3 kB / 464.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.1199, allocations: 12.16 kB / 464.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.1215, allocations: 1.751 MB / 466.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.1218, allocations: 0.6963 MB / 467 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.083e-05/0.1218, allocations: 4.047 kB / 467 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.1219, allocations: 27.45 kB / 467 MB, free: 13.3 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1219, allocations: 3.938 kB / 467 MB, free: 13.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.1416, allocations: 2.515 MB / 469.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.126/7.268, allocations: 10.41 kB / 469.5 MB, free: 10.86 MB / 350.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1)