Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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_matrixEqCirc3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_latest_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.001131/0.001131, allocations: 87.67 kB / 16.31 MB, free: 6.457 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.001372/0.001372, allocations: 184.1 kB / 17.21 MB, free: 6.32 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.434/1.434, allocations: 223.3 MB / 241.2 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3211/0.3211, allocations: 38.07 MB / 330.4 MB, free: 14.15 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003497, allocations: 8 kB / 400.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3492, allocations: 59.16 MB / 459.3 MB, free: 30.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002725/0.352, allocations: 1.722 MB / 461 MB, free: 29.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007255/0.3527, allocations: 0.4964 MB / 461.5 MB, free: 28.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.228e-05/0.3528, allocations: 0 / 461.5 MB, free: 28.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.3529, allocations: 8.812 kB / 461.6 MB, free: 28.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.948e-05/0.353, allocations: 30.56 kB / 461.6 MB, free: 28.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.3533, allocations: 43.05 kB / 461.6 MB, free: 28.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.3535, allocations: 85.75 kB / 461.7 MB, free: 28.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.464e-05/0.3535, allocations: 7.047 kB / 461.7 MB, free: 28.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.887e-05/0.3536, allocations: 36.84 kB / 461.8 MB, free: 28.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.539e-05/0.3537, allocations: 34.86 kB / 461.8 MB, free: 28.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.3537, allocations: 2.156 kB / 461.8 MB, free: 28.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.3539, allocations: 48.56 kB / 461.8 MB, free: 28.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.014e-05/0.3539, allocations: 41.69 kB / 461.9 MB, free: 28.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.354, allocations: 43.81 kB / 461.9 MB, free: 28.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.3541, allocations: 85.56 kB / 462 MB, free: 28.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.3542, allocations: 1.469 kB / 462 MB, free: 28.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.3542, allocations: 0 / 462 MB, free: 28.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3542, allocations: 0 / 462 MB, free: 28.5 MB / 350.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.0003702/0.3546, allocations: 467.1 kB / 462.5 MB, free: 28.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3546, allocations: 9.438 kB / 462.5 MB, free: 28.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.3547, allocations: 45.31 kB / 462.5 MB, free: 28.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.3547, allocations: 17.06 kB / 462.5 MB, free: 28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.3548, allocations: 199.8 kB / 462.7 MB, free: 27.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.3549, allocations: 0.9688 kB / 462.7 MB, free: 27.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.3549, allocations: 5.484 kB / 462.7 MB, free: 27.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.3551, allocations: 132.6 kB / 462.9 MB, free: 27.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3551, allocations: 4.984 kB / 462.9 MB, free: 27.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.3551, allocations: 4 kB / 462.9 MB, free: 27.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3551, allocations: 1.438 kB / 462.9 MB, free: 27.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.3552, allocations: 89.69 kB / 463 MB, free: 27.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.3554, allocations: 200 kB / 463.2 MB, free: 27.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.3556, allocations: 153.9 kB / 463.3 MB, free: 27.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.3557, allocations: 137.9 kB / 463.4 MB, free: 27.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.3557, allocations: 3.953 kB / 463.4 MB, free: 27.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.3557, allocations: 40.53 kB / 463.5 MB, free: 27.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.253e-06/0.3557, allocations: 0 / 463.5 MB, free: 27.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006068/0.3564, allocations: 470.4 kB / 463.9 MB, free: 27.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.3564, allocations: 108.9 kB / 464 MB, free: 27.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.3565, allocations: 149 kB / 464.2 MB, free: 26.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.3566, allocations: 26.67 kB / 464.2 MB, free: 26.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.3566, allocations: 94.05 kB / 464.3 MB, free: 26.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.741e-05/0.3567, allocations: 135 kB / 464.4 MB, free: 26.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.3567, allocations: 0 / 464.4 MB, free: 26.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.002e-05/0.3568, allocations: 336.9 kB / 464.8 MB, free: 26.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.3569, allocations: 88.7 kB / 464.9 MB, free: 26.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.357, allocations: 99.5 kB / 465 MB, free: 26.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.3572, allocations: 180.9 kB / 465.1 MB, free: 26.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3572, allocations: 1 kB / 465.1 MB, free: 26.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003904/0.3576, allocations: 317.1 kB / 465.4 MB, free: 26.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.3577, allocations: 89.38 kB / 465.5 MB, free: 26.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3578, allocations: 0 / 465.5 MB, free: 26.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3578, allocations: 2.031 kB / 465.5 MB, free: 26.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.3578, allocations: 4.062 kB / 465.5 MB, free: 26.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.3578, allocations: 3.938 kB / 465.5 MB, free: 26.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.434e-05/0.3579, allocations: 24.78 kB / 465.6 MB, free: 26.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.3579, allocations: 11.38 kB / 465.6 MB, free: 26.06 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002174/0.3581, allocations: 227.8 kB / 465.8 MB, free: 25.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.3582, allocations: 21 kB / 465.8 MB, free: 25.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.3582, allocations: 18.53 kB / 465.8 MB, free: 25.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3582, allocations: 0.6094 kB / 465.8 MB, free: 25.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3582, allocations: 0 / 465.8 MB, free: 25.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3582, allocations: 5.094 kB / 465.8 MB, free: 25.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.3584, allocations: 226.3 kB / 466.1 MB, free: 25.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3584, allocations: 0 / 466.1 MB, free: 25.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-06/0.3584, allocations: 0.9688 kB / 466.1 MB, free: 25.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3584, allocations: 4.594 kB / 466.1 MB, free: 25.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.3584, allocations: 7.188 kB / 466.1 MB, free: 25.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3584, allocations: 7.953 kB / 466.1 MB, free: 25.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3585, allocations: 0.6562 kB / 466.1 MB, free: 25.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.3596, allocations: 0.8932 MB / 467 MB, free: 25.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.3597, allocations: 103.1 kB / 467.1 MB, free: 25.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.3597, allocations: 6.719 kB / 467.1 MB, free: 25.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.582e-05/0.3597, allocations: 6.281 kB / 467.1 MB, free: 25.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.3598, allocations: 7.297 kB / 467.1 MB, free: 25.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.3598, allocations: 7.25 kB / 467.1 MB, free: 25.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.377e-05/0.3599, allocations: 111 kB / 467.2 MB, free: 25.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3599, allocations: 0 / 467.2 MB, free: 25.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003036/0.3602, allocations: 66.44 kB / 467.3 MB, free: 25.2 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/0.3615, allocations: 1.443 MB / 468.7 MB, free: 24.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.3629, allocations: 1.587 MB / 470.3 MB, free: 23.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3629, allocations: 0 / 470.3 MB, free: 23.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.364, allocations: 1.366 MB / 471.7 MB, free: 22.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.3643, allocations: 36.27 kB / 471.7 MB, free: 22.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.3668, allocations: 1.853 MB / 473.6 MB, free: 22.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.367, allocations: 0.7497 MB / 474.3 MB, free: 21.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.637e-05/0.3671, allocations: 3.531 kB / 474.3 MB, free: 21.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.3671, allocations: 43.95 kB / 474.4 MB, free: 21.32 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3671, allocations: 0 / 474.4 MB, free: 21.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.3829, allocations: 4.332 MB / 478.7 MB, free: 20.29 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/0.3831, allocations: 199.2 kB / 478.9 MB, free: 20.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.103/2.486, allocations: 2.75 kB / 478.9 MB, free: 20.05 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat does not exist to compare? outputFormat=mat