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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001294/0.001294, allocations: 112.4 kB / 17.06 MB, free: 6 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.001199/0.001199, allocations: 200 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2082/0.2082, allocations: 37.98 MB / 309.2 MB, free: 5.957 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 63.91 kB / 431.4 MB, free: 16.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1057, allocations: 55.25 MB / 486.6 MB, free: 8.832 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003566/0.1093, allocations: 2.04 MB / 488.7 MB, free: 6.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009301/0.1103, allocations: 0.5659 MB / 489.2 MB, free: 6.199 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.966e-05/0.1104, allocations: 0 / 489.2 MB, free: 6.199 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.1105, allocations: 7.922 kB / 489.2 MB, free: 6.191 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.474e-05/0.1106, allocations: 31.83 kB / 489.3 MB, free: 6.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.111, allocations: 63.83 kB / 489.3 MB, free: 6.098 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.1111, allocations: 71.7 kB / 489.4 MB, free: 6.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.24e-05/0.1112, allocations: 8 kB / 489.4 MB, free: 6.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.549e-05/0.1113, allocations: 23.91 kB / 489.4 MB, free: 5.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.163e-05/0.1114, allocations: 31.84 kB / 489.5 MB, free: 5.965 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.1114, allocations: 0 / 489.5 MB, free: 5.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.1116, allocations: 79.81 kB / 489.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.808e-05/0.1116, allocations: 39.8 kB / 489.6 MB, free: 5.848 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.498e-05/0.1117, allocations: 51.55 kB / 489.6 MB, free: 5.797 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.1119, allocations: 142.9 kB / 489.8 MB, free: 5.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.112, allocations: 0 / 489.8 MB, free: 5.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.112, allocations: 0 / 489.8 MB, free: 5.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.112, allocations: 4 kB / 489.8 MB, free: 5.656 MB / 366.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.0005031/0.1125, allocations: 484.7 kB / 490.2 MB, free: 5.129 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1125, allocations: 11.89 kB / 490.3 MB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.364e-05/0.1126, allocations: 50.73 kB / 490.3 MB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.1126, allocations: 12.75 kB / 490.3 MB, free: 5.047 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.1128, allocations: 204.3 kB / 490.5 MB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.1128, allocations: 0 / 490.5 MB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.1129, allocations: 0 / 490.5 MB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.113, allocations: 134.6 kB / 490.6 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1131, allocations: 4 kB / 490.7 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.1131, allocations: 0 / 490.7 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1131, allocations: 4 kB / 490.7 MB, free: 4.664 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.293e-05/0.1132, allocations: 88.3 kB / 490.7 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.1134, allocations: 205.9 kB / 490.9 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.1135, allocations: 150.9 kB / 491.1 MB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.1137, allocations: 141.2 kB / 491.2 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.375e-06/0.1137, allocations: 0 / 491.2 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.1137, allocations: 42.5 kB / 491.3 MB, free: 3.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.022e-06/0.1137, allocations: 0 / 491.3 MB, free: 3.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.000608/0.1143, allocations: 475.9 kB / 491.7 MB, free: 3.504 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.1144, allocations: 109.1 kB / 491.8 MB, free: 3.379 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.1146, allocations: 146.4 kB / 492 MB, free: 3.219 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1146, allocations: 25.7 kB / 492 MB, free: 3.188 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.1147, allocations: 96.8 kB / 492.1 MB, free: 3.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.1148, allocations: 130 kB / 492.2 MB, free: 2.961 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.1149, allocations: 37.69 kB / 492.3 MB, free: 2.918 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.115, allocations: 334.8 kB / 492.6 MB, free: 2.582 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-05/0.1151, allocations: 91.97 kB / 492.7 MB, free: 2.492 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.1152, allocations: 91.95 kB / 492.8 MB, free: 2.402 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.1156, allocations: 369.3 kB / 493.1 MB, free: 2.027 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1156, allocations: 0 / 493.1 MB, free: 2.027 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003156/0.1159, allocations: 319.1 kB / 493.4 MB, free: 1.703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.503e-05/0.116, allocations: 85.62 kB / 493.5 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.116, allocations: 4.062 kB / 493.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.116, allocations: 3.938 kB / 493.5 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.116, allocations: 0 / 493.5 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.116, allocations: 4 kB / 493.5 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.076e-05/0.1161, allocations: 23.69 kB / 493.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.1161, allocations: 7.984 kB / 493.6 MB, free: 1.57 MB / 366.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.0001949/0.1163, allocations: 239.4 kB / 493.8 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.1164, allocations: 19.81 kB / 493.8 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.1164, allocations: 13.95 kB / 493.8 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1164, allocations: 4 kB / 493.8 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.1164, allocations: 4 kB / 493.8 MB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1164, allocations: 0 / 493.8 MB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.1166, allocations: 237.1 kB / 494.1 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1166, allocations: 0 / 494.1 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-06/0.1166, allocations: 4 kB / 494.1 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1166, allocations: 0 / 494.1 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.1166, allocations: 4 kB / 494.1 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1166, allocations: 0 / 494.1 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1166, allocations: 0 / 494.1 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008994/0.1176, allocations: 0.9081 MB / 495 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.255e-05/0.1176, allocations: 100.8 kB / 495.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.1177, allocations: 4 kB / 495.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.768e-05/0.1177, allocations: 8 kB / 495.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.1178, allocations: 4 kB / 495.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.1178, allocations: 8 kB / 495.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.375e-05/0.1179, allocations: 115.9 kB / 495.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1179, allocations: 0 / 495.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.1182, allocations: 71.95 kB / 495.3 MB, free: 15.73 MB / 382.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.001289/0.1195, allocations: 1.449 MB / 496.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.1208, allocations: 1.585 MB / 498.3 MB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1208, allocations: 0 / 498.3 MB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.1219, allocations: 1.362 MB / 499.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.1222, allocations: 35.91 kB / 499.7 MB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/0.1258, allocations: 3.454 MB / 0.4914 GB, free: 7.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.1262, allocations: 0.7478 MB / 0.4921 GB, free: 6.922 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.448e-05/0.1263, allocations: 3.938 kB / 0.4921 GB, free: 6.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.1264, allocations: 43.42 kB / 0.4922 GB, free: 6.875 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1264, allocations: 0 / 0.4922 GB, free: 6.875 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.1515, allocations: 4.85 MB / 0.4969 GB, free: 1.973 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.706/7.857, allocations: 11.94 kB / 0.4969 GB, free: 1.961 MB / 382.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)