Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009848/0.0009848, allocations: 179.5 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009008/0.0009011, allocations: 90.95 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1559/0.1559, allocations: 38.07 MB / 357.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.0003009, allocations: 12 kB / 424 MB, free: 37.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2501, allocations: 56.32 MB / 480.3 MB, free: 9.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1047/0.3548, allocations: 87.05 MB / 0.5541 GB, free: 15.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.355, allocations: 83.95 kB / 0.5542 GB, free: 15.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00461/0.3597, allocations: 1.66 MB / 0.5558 GB, free: 13.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3597, allocations: 0 / 0.5558 GB, free: 13.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.3597, allocations: 4 kB / 0.5558 GB, free: 13.62 MB / 394.7 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.0003293/0.36, allocations: 432.9 kB / 0.5562 GB, free: 13.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.3601, allocations: 8.031 kB / 0.5562 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.3601, allocations: 15.75 kB / 0.5562 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.3603, allocations: 190.8 kB / 0.5564 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.3603, allocations: 0 / 0.5564 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.3603, allocations: 0 / 0.5564 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.3605, allocations: 97.59 kB / 0.5565 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.3605, allocations: 0 / 0.5565 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.3605, allocations: 0 / 0.5565 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3605, allocations: 0 / 0.5565 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.43e-05/0.3606, allocations: 63.97 kB / 0.5566 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.3607, allocations: 181.5 kB / 0.5567 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.3608, allocations: 98.55 kB / 0.5568 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-06/0.3608, allocations: 0 / 0.5568 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.3609, allocations: 30.56 kB / 0.5568 GB, free: 12.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 2.324e-06/0.3609, allocations: 0 / 0.5568 GB, free: 12.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004321/0.3613, allocations: 399.4 kB / 0.5572 GB, free: 11.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.3614, allocations: 101.1 kB / 0.5573 GB, free: 11.83 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.182e-05/0.3615, allocations: 121.2 kB / 0.5574 GB, free: 11.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.3615, allocations: 25.7 kB / 0.5575 GB, free: 11.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.693e-05/0.3615, allocations: 92.58 kB / 0.5576 GB, free: 11.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/0.3616, allocations: 78.75 kB / 0.5576 GB, free: 11.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-06/0.3616, allocations: 4 kB / 0.5576 GB, free: 11.49 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3617, allocations: 322.8 kB / 0.5579 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.991e-05/0.3618, allocations: 55.97 kB / 0.558 GB, free: 11.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.825e-05/0.3619, allocations: 63.97 kB / 0.5581 GB, free: 11.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.362, allocations: 117.7 kB / 0.5582 GB, free: 10.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.362, allocations: 3.953 kB / 0.5582 GB, free: 10.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002275/0.3622, allocations: 231.8 kB / 0.5584 GB, free: 10.69 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.319e-05/0.3623, allocations: 61.66 kB / 0.5585 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.3623, allocations: 3.938 kB / 0.5585 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.3623, allocations: 0 / 0.5585 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-07/0.3623, allocations: 4 kB / 0.5585 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3623, allocations: 0 / 0.5585 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.114e-05/0.3624, allocations: 11.88 kB / 0.5585 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.3624, allocations: 12.05 kB / 0.5585 GB, free: 10.59 MB / 394.7 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.0001372/0.3626, allocations: 191.5 kB / 0.5587 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.3626, allocations: 23.75 kB / 0.5587 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.718e-05/0.3626, allocations: 13.19 kB / 0.5587 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3626, allocations: 0 / 0.5587 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.3626, allocations: 0 / 0.5587 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.3626, allocations: 0 / 0.5587 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.3628, allocations: 197.5 kB / 0.5589 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3628, allocations: 0 / 0.5589 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.713e-06/0.3628, allocations: 3.953 kB / 0.5589 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3628, allocations: 8 kB / 0.5589 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.3628, allocations: 8 kB / 0.5589 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.3628, allocations: 4 kB / 0.5589 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3628, allocations: 0 / 0.5589 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000525/0.3633, allocations: 0.5059 MB / 0.5594 GB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.3634, allocations: 88.95 kB / 0.5595 GB, free: 9.449 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.3634, allocations: 7.953 kB / 0.5595 GB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.301e-05/0.3635, allocations: 4 kB / 0.5595 GB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.3635, allocations: 8.031 kB / 0.5595 GB, free: 9.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.3635, allocations: 11.98 kB / 0.5595 GB, free: 9.418 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.054e-05/0.3636, allocations: 101.3 kB / 0.5596 GB, free: 9.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3636, allocations: 0 / 0.5596 GB, free: 9.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002107/0.3638, allocations: 40 kB / 0.5597 GB, free: 9.281 MB / 394.7 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.0001434/0.3639, allocations: 119.2 kB / 0.5598 GB, free: 9.156 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006092/0.3646, allocations: 0.7022 MB / 0.5605 GB, free: 8.441 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.3646, allocations: 4.062 kB / 0.5605 GB, free: 8.438 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004175/0.365, allocations: 0.5657 MB / 0.561 GB, free: 7.859 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.3652, allocations: 15.89 kB / 0.561 GB, free: 7.844 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.3657, allocations: 466.8 kB / 0.5615 GB, free: 7.359 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.366, allocations: 0.7241 MB / 0.5622 GB, free: 6.609 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.652e-05/0.366, allocations: 4 kB / 0.5622 GB, free: 6.605 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.885e-05/0.366, allocations: 11.42 kB / 0.5622 GB, free: 6.594 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.366, allocations: 4 kB / 0.5622 GB, free: 6.59 MB / 394.7 MB Notification: Performance of Templates: time 0.003722/0.3698, allocations: 1.691 MB / 0.5638 GB, free: 4.918 MB / 394.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches