Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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_matrixEqCirc0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",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.001243/0.001243, allocations: 107.9 kB / 17.06 MB, free: 6.008 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.001251/0.001251, allocations: 189.4 kB / 18 MB, free: 5.09 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.383/1.383, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1828/0.1828, allocations: 38.03 MB / 329.9 MB, free: 8.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 67.89 kB / 457.7 MB, free: 7.328 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3635, allocations: 58.06 MB / 0.5036 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003093/0.3666, allocations: 2.04 MB / 0.5056 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000688/0.3673, allocations: 0.5252 MB / 0.5061 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.711e-05/0.3674, allocations: 1.25 kB / 0.5061 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.3676, allocations: 10.58 kB / 0.5061 GB, free: 5.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.831e-05/0.3677, allocations: 32.5 kB / 0.5062 GB, free: 5.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.368, allocations: 63.25 kB / 0.5062 GB, free: 5.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.3681, allocations: 60.02 kB / 0.5063 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/0.3682, allocations: 3.719 kB / 0.5063 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.235e-05/0.3683, allocations: 29.77 kB / 0.5063 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.093e-05/0.3683, allocations: 41.94 kB / 0.5064 GB, free: 5.535 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.3684, allocations: 1.75 kB / 0.5064 GB, free: 5.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.3685, allocations: 73.95 kB / 0.5064 GB, free: 5.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.431e-05/0.3686, allocations: 11.66 kB / 0.5064 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.3686, allocations: 12.95 kB / 0.5065 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.3689, allocations: 95.86 kB / 0.5065 GB, free: 5.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3689, allocations: 4 kB / 0.5066 GB, free: 5.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3689, allocations: 0 / 0.5066 GB, free: 5.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3689, allocations: 3.938 kB / 0.5066 GB, free: 5.473 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003564/0.3693, allocations: 393.5 kB / 0.5069 GB, free: 5.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3693, allocations: 12.98 kB / 0.5069 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.297e-05/0.3693, allocations: 42.06 kB / 0.507 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.3694, allocations: 4.188 kB / 0.507 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.3695, allocations: 177.3 kB / 0.5072 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.3695, allocations: 384 / 0.5072 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.3695, allocations: 5.406 kB / 0.5072 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.3697, allocations: 59.28 kB / 0.5072 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3697, allocations: 0 / 0.5072 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.3697, allocations: 1.953 kB / 0.5072 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3697, allocations: 3.938 kB / 0.5072 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.762e-05/0.3697, allocations: 17.84 kB / 0.5072 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000117/0.3699, allocations: 165.7 kB / 0.5074 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.72e-05/0.3699, allocations: 49.86 kB / 0.5074 GB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/0.37, allocations: 37.05 kB / 0.5075 GB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-06/0.37, allocations: 1.094 kB / 0.5075 GB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.37, allocations: 32.22 kB / 0.5075 GB, free: 4.465 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.37, allocations: 0 / 0.5075 GB, free: 4.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002521/0.3703, allocations: 139.8 kB / 0.5076 GB, free: 4.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.3703, allocations: 91.86 kB / 0.5077 GB, free: 4.289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.139e-05/0.3704, allocations: 112.7 kB / 0.5078 GB, free: 4.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.3704, allocations: 26.86 kB / 0.5079 GB, free: 4.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.357e-05/0.3704, allocations: 89.75 kB / 0.508 GB, free: 4.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.3705, allocations: 29.98 kB / 0.508 GB, free: 4.043 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.3705, allocations: 16.89 kB / 0.508 GB, free: 4.027 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.539e-05/0.3706, allocations: 320.1 kB / 0.5083 GB, free: 3.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.705e-05/0.3706, allocations: 17.59 kB / 0.5083 GB, free: 3.711 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.973e-05/0.3707, allocations: 22.48 kB / 0.5083 GB, free: 3.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.3708, allocations: 121.1 kB / 0.5085 GB, free: 3.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3708, allocations: 3.938 kB / 0.5085 GB, free: 3.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000129/0.3709, allocations: 129.6 kB / 0.5086 GB, free: 3.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.354e-05/0.371, allocations: 44.86 kB / 0.5086 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.371, allocations: 0 / 0.5086 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.371, allocations: 1.766 kB / 0.5086 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.844e-06/0.371, allocations: 0 / 0.5086 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.371, allocations: 5.062 kB / 0.5086 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.516e-05/0.371, allocations: 6.25 kB / 0.5086 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.3711, allocations: 2.938 kB / 0.5086 GB, free: 3.5 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 8.487e-05/0.3711, allocations: 159.7 kB / 0.5088 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.3712, allocations: 12.14 kB / 0.5088 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.397e-05/0.3712, allocations: 6.344 kB / 0.5088 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3712, allocations: 2 kB / 0.5088 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3712, allocations: 0 / 0.5088 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3712, allocations: 1.375 kB / 0.5088 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.021e-05/0.3713, allocations: 174.6 kB / 0.509 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3713, allocations: 0 / 0.509 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.3713, allocations: 0 / 0.509 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.3713, allocations: 1.125 kB / 0.509 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3713, allocations: 3.094 kB / 0.509 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3713, allocations: 0 / 0.509 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3713, allocations: 5.938 kB / 0.509 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.3716, allocations: 218.6 kB / 0.5092 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.3716, allocations: 83.56 kB / 0.5093 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3717, allocations: 2.984 kB / 0.5093 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.542e-05/0.3717, allocations: 2.344 kB / 0.5093 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.3717, allocations: 1.672 kB / 0.5093 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.3717, allocations: 3.312 kB / 0.5093 GB, free: 2.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.767e-05/0.3717, allocations: 93.75 kB / 0.5094 GB, free: 2.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3718, allocations: 1.156 kB / 0.5094 GB, free: 2.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.372, allocations: 27.88 kB / 0.5094 GB, free: 2.816 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.0004586/0.3725, allocations: 0.7561 MB / 0.5101 GB, free: 2.164 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002636/0.3727, allocations: 199.6 kB / 0.5103 GB, free: 2.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3727, allocations: 4.375 kB / 0.5103 GB, free: 2.059 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.3729, allocations: 148.3 kB / 0.5105 GB, free: 1.969 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.3731, allocations: 12.53 kB / 0.5105 GB, free: 1.965 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.3744, allocations: 1.552 MB / 0.512 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.3746, allocations: 0.6902 MB / 0.5127 GB, free: 36 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.753e-05/0.3746, allocations: 1.719 kB / 0.5127 GB, free: 36 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.3746, allocations: 17.67 kB / 0.5127 GB, free: 20 kB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3746, allocations: 4.969 kB / 0.5127 GB, free: 16 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.3999, allocations: 2.174 MB / 0.5148 GB, free: 15.6 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/8.494, allocations: 8.719 kB / 0.5148 GB, free: 15.59 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1)