Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/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_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_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.001664/0.001664, allocations: 112.8 kB / 17.06 MB, free: 5.973 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.002015/0.002016, allocations: 200 kB / 18.01 MB, free: 5.047 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.442/1.442, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.181/0.181, allocations: 38.02 MB / 329.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 63.91 kB / 457.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3578, allocations: 58.06 MB / 0.5036 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003312/0.3612, allocations: 2.041 MB / 0.5056 GB, free: 6.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007407/0.3619, allocations: 0.5267 MB / 0.5061 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.362, allocations: 1.031 kB / 0.5061 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.3621, allocations: 8.656 kB / 0.5061 GB, free: 5.688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.965e-05/0.3622, allocations: 25.92 kB / 0.5062 GB, free: 5.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.3625, allocations: 70.91 kB / 0.5062 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.3627, allocations: 55.42 kB / 0.5063 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.27e-05/0.3627, allocations: 7.375 kB / 0.5063 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.457e-05/0.3628, allocations: 29.28 kB / 0.5063 GB, free: 5.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.73e-05/0.3629, allocations: 27.98 kB / 0.5063 GB, free: 5.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.3629, allocations: 0.9688 kB / 0.5063 GB, free: 5.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.3631, allocations: 82.67 kB / 0.5064 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.6e-05/0.3632, allocations: 28.73 kB / 0.5065 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.165e-05/0.3632, allocations: 32.52 kB / 0.5065 GB, free: 5.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.3634, allocations: 122.8 kB / 0.5066 GB, free: 5.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3634, allocations: 4 kB / 0.5066 GB, free: 5.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3634, allocations: 0.6562 kB / 0.5066 GB, free: 5.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3634, allocations: 0 / 0.5066 GB, free: 5.504 MB / 382.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.0003386/0.3638, allocations: 443.4 kB / 0.507 GB, free: 5.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3638, allocations: 17.52 kB / 0.507 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.5e-05/0.3639, allocations: 37.88 kB / 0.5071 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.3639, allocations: 12.66 kB / 0.5071 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.364, allocations: 204 kB / 0.5073 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.3641, allocations: 1.375 kB / 0.5073 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.3641, allocations: 9 kB / 0.5073 GB, free: 4.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.3642, allocations: 88.09 kB / 0.5074 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.3642, allocations: 0 / 0.5074 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.3642, allocations: 0.7031 kB / 0.5074 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3642, allocations: 5.5 kB / 0.5074 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.189e-05/0.3643, allocations: 59.88 kB / 0.5074 GB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.3645, allocations: 179.4 kB / 0.5076 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.3646, allocations: 105.2 kB / 0.5077 GB, free: 4.457 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.641e-05/0.3647, allocations: 86.53 kB / 0.5078 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.886e-06/0.3647, allocations: 1.062 kB / 0.5078 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.3647, allocations: 32.31 kB / 0.5078 GB, free: 4.379 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 9.62e-07/0.3647, allocations: 0 / 0.5078 GB, free: 4.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004183/0.3651, allocations: 304.8 kB / 0.5081 GB, free: 4.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.3652, allocations: 93.48 kB / 0.5082 GB, free: 4.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3653, allocations: 134 kB / 0.5083 GB, free: 4.066 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.3653, allocations: 31.33 kB / 0.5084 GB, free: 4.031 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.3654, allocations: 92.62 kB / 0.5085 GB, free: 3.941 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.528e-05/0.3654, allocations: 77.34 kB / 0.5085 GB, free: 3.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.3655, allocations: 29.72 kB / 0.5086 GB, free: 3.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.277e-05/0.3655, allocations: 328.3 kB / 0.5089 GB, free: 3.539 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.081e-05/0.3656, allocations: 55.97 kB / 0.5089 GB, free: 3.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.69e-05/0.3657, allocations: 57.52 kB / 0.509 GB, free: 3.516 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.3659, allocations: 247.3 kB / 0.5092 GB, free: 3.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3659, allocations: 7.969 kB / 0.5092 GB, free: 3.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002455/0.3662, allocations: 223 kB / 0.5094 GB, free: 3.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.364e-05/0.3663, allocations: 65.78 kB / 0.5095 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3663, allocations: 1.188 kB / 0.5095 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3663, allocations: 4.734 kB / 0.5095 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.216e-06/0.3663, allocations: 0 / 0.5095 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3663, allocations: 5.281 kB / 0.5095 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.937e-05/0.3664, allocations: 13.52 kB / 0.5095 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.3664, allocations: 3.672 kB / 0.5095 GB, free: 3.258 MB / 382.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.0001591/0.3666, allocations: 203.1 kB / 0.5097 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.3666, allocations: 15.97 kB / 0.5097 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.877e-05/0.3666, allocations: 9.672 kB / 0.5097 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.3666, allocations: 0 / 0.5097 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3666, allocations: 1.938 kB / 0.5097 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3666, allocations: 0 / 0.5097 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.3668, allocations: 203.5 kB / 0.5099 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3668, allocations: 0 / 0.5099 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-07/0.3668, allocations: 0 / 0.5099 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3668, allocations: 1.562 kB / 0.5099 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.3668, allocations: 4.969 kB / 0.5099 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.3668, allocations: 4.703 kB / 0.5099 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3668, allocations: 0 / 0.5099 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006046/0.3674, allocations: 0.5031 MB / 0.5104 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.3675, allocations: 93.67 kB / 0.5105 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.3675, allocations: 5.734 kB / 0.5105 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.327e-05/0.3675, allocations: 2.688 kB / 0.5105 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.3676, allocations: 10.84 kB / 0.5105 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.3676, allocations: 4.969 kB / 0.5106 GB, free: 2.578 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.742e-05/0.3676, allocations: 108.5 kB / 0.5107 GB, free: 2.492 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3676, allocations: 0 / 0.5107 GB, free: 2.492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.3679, allocations: 46.19 kB / 0.5107 GB, free: 2.488 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.0008172/0.3687, allocations: 1.051 MB / 0.5117 GB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006506/0.3694, allocations: 0.7112 MB / 0.5124 GB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3694, allocations: 0 / 0.5124 GB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000418/0.3698, allocations: 0.5638 MB / 0.513 GB, free: 1.133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.3701, allocations: 23.05 kB / 0.513 GB, free: 1.125 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.3729, allocations: 2.475 MB / 0.5154 GB, free: 15.67 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.3733, allocations: 0.7202 MB / 0.5161 GB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.048e-05/0.3733, allocations: 4.234 kB / 0.5161 GB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.3734, allocations: 32.48 kB / 0.5161 GB, free: 14.95 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3734, allocations: 7.875 kB / 0.5162 GB, free: 14.94 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.4001, allocations: 3.587 MB / 0.5197 GB, free: 14.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.392, allocations: 13.06 kB / 0.5197 GB, free: 14.42 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1)