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.001233/0.001233, allocations: 108.9 kB / 17.06 MB, free: 5.969 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.001301/0.001301, allocations: 200 kB / 18.01 MB, free: 5.051 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.389/1.389, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1792/0.1792, allocations: 38.03 MB / 329.9 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 59.89 kB / 457.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.354, allocations: 58.07 MB / 0.5036 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003125/0.3572, allocations: 2.033 MB / 0.5056 GB, free: 6.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006949/0.3579, allocations: 0.5228 MB / 0.5061 GB, free: 5.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.358, allocations: 5 kB / 0.5061 GB, free: 5.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.3581, allocations: 9.141 kB / 0.5061 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.3583, allocations: 29.8 kB / 0.5062 GB, free: 5.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.3586, allocations: 66.92 kB / 0.5062 GB, free: 5.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.3587, allocations: 71.94 kB / 0.5063 GB, free: 5.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.3588, allocations: 2.766 kB / 0.5063 GB, free: 5.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.621e-05/0.3589, allocations: 33.53 kB / 0.5063 GB, free: 5.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.115e-05/0.3589, allocations: 24.75 kB / 0.5064 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.3589, allocations: 1.125 kB / 0.5064 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.3591, allocations: 75.08 kB / 0.5064 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.3592, allocations: 23.55 kB / 0.5064 GB, free: 5.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.88e-05/0.3592, allocations: 14.23 kB / 0.5065 GB, free: 5.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.3594, allocations: 110.5 kB / 0.5066 GB, free: 5.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3594, allocations: 1.031 kB / 0.5066 GB, free: 5.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3595, allocations: 4.609 kB / 0.5066 GB, free: 5.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3595, allocations: 0 / 0.5066 GB, free: 5.566 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003356/0.3598, allocations: 403.5 kB / 0.507 GB, free: 5.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3599, allocations: 13.47 kB / 0.507 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.692e-05/0.3599, allocations: 39.23 kB / 0.507 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.3599, allocations: 7.109 kB / 0.507 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.36, allocations: 182.6 kB / 0.5072 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.3601, allocations: 384 / 0.5072 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.3601, allocations: 5.734 kB / 0.5072 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.3602, allocations: 66.66 kB / 0.5073 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3602, allocations: 3.938 kB / 0.5073 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.3602, allocations: 1.188 kB / 0.5073 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3603, allocations: 0.6094 kB / 0.5073 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.061e-05/0.3603, allocations: 30.48 kB / 0.5073 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001137/0.3604, allocations: 167.7 kB / 0.5074 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.05e-05/0.3605, allocations: 59.31 kB / 0.5075 GB, free: 4.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.182e-05/0.3606, allocations: 43.72 kB / 0.5075 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.3606, allocations: 5.188 kB / 0.5076 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.3606, allocations: 31.69 kB / 0.5076 GB, free: 4.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.3606, allocations: 0 / 0.5076 GB, free: 4.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002668/0.3609, allocations: 183 kB / 0.5078 GB, free: 4.453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.3609, allocations: 87.38 kB / 0.5078 GB, free: 4.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.84e-05/0.361, allocations: 120.5 kB / 0.508 GB, free: 4.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.361, allocations: 25.7 kB / 0.508 GB, free: 4.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.502e-05/0.3611, allocations: 86.86 kB / 0.5081 GB, free: 4.137 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.3611, allocations: 40.59 kB / 0.5081 GB, free: 4.105 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.3612, allocations: 23.19 kB / 0.5081 GB, free: 4.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.101e-05/0.3612, allocations: 320.5 kB / 0.5084 GB, free: 3.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.646e-05/0.3613, allocations: 28.52 kB / 0.5085 GB, free: 3.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.24e-05/0.3613, allocations: 32.7 kB / 0.5085 GB, free: 3.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.3615, allocations: 156.2 kB / 0.5086 GB, free: 3.672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3615, allocations: 1.094 kB / 0.5086 GB, free: 3.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001535/0.3616, allocations: 152.4 kB / 0.5088 GB, free: 3.586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.3617, allocations: 50.62 kB / 0.5088 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3617, allocations: 1.344 kB / 0.5088 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3617, allocations: 0 / 0.5088 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.3617, allocations: 0 / 0.5088 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3617, allocations: 1.656 kB / 0.5088 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.712e-05/0.3618, allocations: 12.94 kB / 0.5088 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.3618, allocations: 8.031 kB / 0.5089 GB, free: 3.539 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 9.05e-05/0.3619, allocations: 168.2 kB / 0.509 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.3619, allocations: 9.969 kB / 0.509 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.22e-05/0.3619, allocations: 10.23 kB / 0.509 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3619, allocations: 1.812 kB / 0.509 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3619, allocations: 0 / 0.509 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.3619, allocations: 3.938 kB / 0.509 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.754e-05/0.362, allocations: 181.2 kB / 0.5092 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.362, allocations: 0 / 0.5092 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.733e-06/0.362, allocations: 1.125 kB / 0.5092 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3621, allocations: 3.938 kB / 0.5092 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3621, allocations: 7.031 kB / 0.5092 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3621, allocations: 1.094 kB / 0.5092 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3621, allocations: 0.6562 kB / 0.5092 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.3624, allocations: 283.6 kB / 0.5095 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.497e-05/0.3624, allocations: 87.91 kB / 0.5096 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.3625, allocations: 3.125 kB / 0.5096 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.704e-05/0.3625, allocations: 2.344 kB / 0.5096 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.3625, allocations: 7.016 kB / 0.5096 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.3625, allocations: 2.406 kB / 0.5096 GB, free: 2.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.213e-05/0.3626, allocations: 94.14 kB / 0.5097 GB, free: 2.836 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3626, allocations: 4.031 kB / 0.5097 GB, free: 2.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.3628, allocations: 32.97 kB / 0.5097 GB, free: 2.828 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.0005103/0.3633, allocations: 0.8237 MB / 0.5105 GB, free: 2.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003263/0.3637, allocations: 292.3 kB / 0.5108 GB, free: 2.023 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3637, allocations: 1.469 kB / 0.5108 GB, free: 2.023 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.3638, allocations: 222.9 kB / 0.511 GB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.3641, allocations: 11.84 kB / 0.511 GB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.3657, allocations: 1.778 MB / 0.5128 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.3659, allocations: 0.7026 MB / 0.5135 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.931e-05/0.3659, allocations: 6.031 kB / 0.5135 GB, free: 15.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.366, allocations: 21.97 kB / 0.5135 GB, free: 15.88 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.366, allocations: 0 / 0.5135 GB, free: 15.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.3918, allocations: 2.556 MB / 0.516 GB, free: 15.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.068/8.46, allocations: 16.09 kB / 0.516 GB, free: 15.43 MB / 398.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)