Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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-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_matrixEqCirc1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_latest_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.001201/0.0012, allocations: 102.4 kB / 16.5 MB, free: 6.648 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.00118/0.00118, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.258/1.258, allocations: 222.9 MB / 241.1 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1601/0.1601, allocations: 38.04 MB / 329.3 MB, free: 8.852 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 58.44 kB / 398.2 MB, free: 34.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08927/0.09035, allocations: 58.07 MB / 456.2 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003048/0.09344, allocations: 2.084 MB / 458.3 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006408/0.0941, allocations: 0.526 MB / 458.9 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.06e-05/0.09415, allocations: 4 kB / 458.9 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.09428, allocations: 15.92 kB / 458.9 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.09438, allocations: 23.89 kB / 458.9 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.09461, allocations: 59.86 kB / 459 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.09473, allocations: 115.7 kB / 459.1 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.09478, allocations: 4 kB / 459.1 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.66e-05/0.09485, allocations: 27.86 kB / 459.1 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.847e-05/0.09491, allocations: 31.84 kB / 459.1 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.747e-06/0.09493, allocations: 0 / 459.1 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.09508, allocations: 71.89 kB / 459.2 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.794e-05/0.09513, allocations: 27.86 kB / 459.2 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.09516, allocations: 19.81 kB / 459.3 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.09533, allocations: 111.9 kB / 459.4 MB, free: 5.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.09534, allocations: 0 / 459.4 MB, free: 5.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.09534, allocations: 0 / 459.4 MB, free: 5.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.09535, allocations: 0 / 459.4 MB, free: 5.273 MB / 334.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.0003254/0.09568, allocations: 401 kB / 459.8 MB, free: 4.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.09572, allocations: 8.031 kB / 459.8 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.957e-05/0.09575, allocations: 34.75 kB / 459.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.09579, allocations: 8.844 kB / 459.8 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.09592, allocations: 188.2 kB / 460 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.09594, allocations: 4.312 kB / 460 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.09595, allocations: 11.88 kB / 460 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.09606, allocations: 61.67 kB / 460.1 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.09608, allocations: 0 / 460.1 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.09609, allocations: 0 / 460.1 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.0961, allocations: 0 / 460.1 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.394e-05/0.09615, allocations: 31.92 kB / 460.1 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.09629, allocations: 169.5 kB / 460.3 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.262e-05/0.09637, allocations: 62.44 kB / 460.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.284e-05/0.09642, allocations: 44.88 kB / 460.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.501e-06/0.09643, allocations: 0 / 460.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.09646, allocations: 34.56 kB / 460.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 8.12e-07/0.09646, allocations: 0 / 460.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002484/0.09672, allocations: 179.5 kB / 460.6 MB, free: 3.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.09677, allocations: 85.14 kB / 460.7 MB, free: 3.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.047e-05/0.09685, allocations: 129.8 kB / 460.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.09687, allocations: 25.7 kB / 460.8 MB, free: 3.602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.09691, allocations: 88.14 kB / 460.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.09696, allocations: 39.36 kB / 460.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.097, allocations: 29.64 kB / 461 MB, free: 3.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.941e-05/0.09709, allocations: 314.8 kB / 461.3 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.617e-05/0.09714, allocations: 31.98 kB / 461.3 MB, free: 3.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-05/0.09717, allocations: 27.98 kB / 461.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.0973, allocations: 156.2 kB / 461.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.09731, allocations: 3.984 kB / 461.5 MB, free: 2.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000144/0.09746, allocations: 143.2 kB / 461.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.09751, allocations: 53.61 kB / 461.7 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.09752, allocations: 0 / 461.7 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.09753, allocations: 0 / 461.7 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.09754, allocations: 0 / 461.7 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.09755, allocations: 0 / 461.7 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.295e-05/0.09757, allocations: 7.938 kB / 461.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.09759, allocations: 4 kB / 461.7 MB, free: 2.668 MB / 334.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.0001039/0.0977, allocations: 171.5 kB / 461.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.09772, allocations: 7.906 kB / 461.9 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.41e-05/0.09774, allocations: 16.36 kB / 461.9 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.09775, allocations: 3.984 kB / 461.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.09776, allocations: 0 / 461.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.09776, allocations: 0 / 461.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.09787, allocations: 181.4 kB / 462.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.09788, allocations: 0 / 462.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.09789, allocations: 0 / 462.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.09789, allocations: 4 kB / 462.1 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.09791, allocations: 4 kB / 462.1 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.09791, allocations: 0 / 462.1 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.09792, allocations: 0 / 462.1 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.09818, allocations: 275.5 kB / 462.3 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.09823, allocations: 89.02 kB / 462.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.09825, allocations: 11.86 kB / 462.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.911e-05/0.09828, allocations: 8 kB / 462.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.0983, allocations: 7.969 kB / 462.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.904e-06/0.09831, allocations: 4 kB / 462.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.341e-05/0.09836, allocations: 99.2 kB / 462.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.09836, allocations: 0 / 462.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002133/0.09858, allocations: 31.94 kB / 462.6 MB, free: 1.66 MB / 334.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.0005364/0.09912, allocations: 0.8288 MB / 463.4 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002636/0.0994, allocations: 287.3 kB / 463.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.09941, allocations: 0 / 463.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.09957, allocations: 223.3 kB / 463.9 MB, free: 280 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.09981, allocations: 23.02 kB / 463.9 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.1013, allocations: 1.766 MB / 465.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.1015, allocations: 0.7004 MB / 466.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.782e-05/0.1015, allocations: 7.844 kB / 466.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.1015, allocations: 15.44 kB / 466.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1015, allocations: 0 / 466.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/0.1131, allocations: 2.344 MB / 468.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.1134, allocations: 217 kB / 469 MB, free: 11.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/1.796, allocations: 0 / 469 MB, free: 11.19 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches