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.001458/0.001458, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.531/1.531, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.00099/0.0009899, allocations: 74.73 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1655/0.1655, allocations: 37.98 MB / 353.5 MB, free: 1.738 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.09e-05/3.102e-05, allocations: 4 kB / 417.7 MB, free: 29.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1147, allocations: 56.32 MB / 474.1 MB, free: 4.785 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3972/0.512, allocations: 86.96 MB / 0.5479 GB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.5122, allocations: 82.53 kB / 0.5479 GB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004391/0.5166, allocations: 1.665 MB / 0.5496 GB, free: 10.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5167, allocations: 0 / 0.5496 GB, free: 10.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.5167, allocations: 3.844 kB / 0.5496 GB, free: 10.61 MB / 362.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.0002289/0.5169, allocations: 417.4 kB / 0.55 GB, free: 10.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.517, allocations: 11.56 kB / 0.55 GB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.517, allocations: 8.859 kB / 0.55 GB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.5171, allocations: 186.5 kB / 0.5502 GB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.5172, allocations: 7.906 kB / 0.5502 GB, free: 9.969 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.5172, allocations: 0 / 0.5502 GB, free: 9.969 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.5173, allocations: 91.94 kB / 0.5503 GB, free: 9.926 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.5173, allocations: 3.938 kB / 0.5503 GB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.5173, allocations: 0 / 0.5503 GB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.5174, allocations: 3.938 kB / 0.5503 GB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.689e-05/0.5174, allocations: 59.33 kB / 0.5503 GB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.5175, allocations: 190.9 kB / 0.5505 GB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.007e-05/0.5176, allocations: 92.22 kB / 0.5506 GB, free: 9.668 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.989e-05/0.5177, allocations: 86.14 kB / 0.5507 GB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.094e-06/0.5177, allocations: 3.984 kB / 0.5507 GB, free: 9.648 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/0.5177, allocations: 34.41 kB / 0.5507 GB, free: 9.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.112e-06/0.5177, allocations: 0 / 0.5507 GB, free: 9.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002362/0.518, allocations: 232.5 kB / 0.5509 GB, free: 9.508 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.518, allocations: 96.19 kB / 0.551 GB, free: 9.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.311e-05/0.5181, allocations: 122 kB / 0.5511 GB, free: 9.312 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.5181, allocations: 29.73 kB / 0.5512 GB, free: 9.277 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.25e-05/0.5181, allocations: 94.62 kB / 0.5513 GB, free: 9.191 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.5182, allocations: 77.3 kB / 0.5513 GB, free: 9.133 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.5182, allocations: 0 / 0.5513 GB, free: 9.133 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.462e-05/0.5182, allocations: 325.5 kB / 0.5516 GB, free: 8.816 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.865e-05/0.5183, allocations: 52.61 kB / 0.5517 GB, free: 8.812 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.441e-05/0.5184, allocations: 58.78 kB / 0.5518 GB, free: 8.805 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.424e-05/0.5184, allocations: 127.6 kB / 0.5519 GB, free: 8.754 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5185, allocations: 0 / 0.5519 GB, free: 8.754 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001736/0.5186, allocations: 224.8 kB / 0.5521 GB, free: 8.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.5187, allocations: 64 kB / 0.5522 GB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5187, allocations: 0 / 0.5522 GB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.5187, allocations: 4 kB / 0.5522 GB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.5187, allocations: 3.938 kB / 0.5522 GB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.5187, allocations: 0 / 0.5522 GB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.087e-05/0.5188, allocations: 15.72 kB / 0.5522 GB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.5188, allocations: 3.844 kB / 0.5522 GB, free: 8.602 MB / 362.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 () * 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 7.778e-05/0.5189, allocations: 176.4 kB / 0.5523 GB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.5189, allocations: 19.69 kB / 0.5524 GB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.464e-05/0.5189, allocations: 8.625 kB / 0.5524 GB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.5189, allocations: 0 / 0.5524 GB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.5189, allocations: 0 / 0.5524 GB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5189, allocations: 3.984 kB / 0.5524 GB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.105e-05/0.519, allocations: 201.4 kB / 0.5526 GB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.519, allocations: 3.953 kB / 0.5526 GB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.519, allocations: 0 / 0.5526 GB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.5191, allocations: 0 / 0.5526 GB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.5191, allocations: 7.859 kB / 0.5526 GB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.5191, allocations: 3.844 kB / 0.5526 GB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5191, allocations: 4 kB / 0.5526 GB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.5195, allocations: 0.4938 MB / 0.5531 GB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.5195, allocations: 104.5 kB / 0.5532 GB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.5195, allocations: 3.906 kB / 0.5532 GB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.379e-05/0.5196, allocations: 3.812 kB / 0.5532 GB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.5196, allocations: 11.2 kB / 0.5532 GB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.5196, allocations: 3.906 kB / 0.5532 GB, free: 7.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.856e-05/0.5197, allocations: 110.3 kB / 0.5533 GB, free: 7.824 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5197, allocations: 0 / 0.5533 GB, free: 7.824 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002034/0.5199, allocations: 41.97 kB / 0.5533 GB, free: 7.824 MB / 362.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 () * 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.0001653/0.52, allocations: 118.2 kB / 0.5534 GB, free: 7.727 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004384/0.5205, allocations: 0.6925 MB / 0.5541 GB, free: 7.613 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5205, allocations: 0 / 0.5541 GB, free: 7.613 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002985/0.5208, allocations: 0.565 MB / 0.5547 GB, free: 7.512 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.521, allocations: 23.08 kB / 0.5547 GB, free: 7.504 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003869/0.5214, allocations: 336.6 kB / 0.555 GB, free: 7.371 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.5215, allocations: 0.7256 MB / 0.5557 GB, free: 6.621 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.047e-05/0.5215, allocations: 4 kB / 0.5557 GB, free: 6.617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.486e-06/0.5215, allocations: 11.38 kB / 0.5557 GB, free: 6.605 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5216, allocations: 0 / 0.5557 GB, free: 6.605 MB / 362.7 MB Notification: Performance of Templates: time 0.003569/0.5251, allocations: 1.689 MB / 0.5574 GB, free: 4.941 MB / 362.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