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: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 104.6 kB / 16.92 MB, free: 6.145 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.001186/0.001186, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.341/1.341, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1703/0.1703, allocations: 38.04 MB / 329.7 MB, free: 8.848 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 70.19 kB / 398.8 MB, free: 34.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09309/0.09436, allocations: 58.06 MB / 456.9 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003568/0.09797, allocations: 2.042 MB / 458.9 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008066/0.09881, allocations: 0.5259 MB / 459.4 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.438e-05/0.09889, allocations: 0 / 459.4 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.09902, allocations: 7.922 kB / 459.4 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.09918, allocations: 27.84 kB / 459.5 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.09947, allocations: 63.84 kB / 459.5 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.0996, allocations: 63.7 kB / 459.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.09964, allocations: 4 kB / 459.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.7e-05/0.09973, allocations: 31.91 kB / 459.6 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.09979, allocations: 27.84 kB / 459.7 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.0998, allocations: 4 kB / 459.7 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.09997, allocations: 79.81 kB / 459.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.924e-05/0.1, allocations: 15.94 kB / 459.8 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.1001, allocations: 23.8 kB / 459.8 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.1002, allocations: 108 kB / 459.9 MB, free: 5.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1003, allocations: 0 / 459.9 MB, free: 5.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1003, allocations: 0 / 459.9 MB, free: 5.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1003, allocations: 0 / 459.9 MB, free: 5.039 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.0004066/0.1007, allocations: 397 kB / 460.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1007, allocations: 11.89 kB / 460.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.1008, allocations: 8.844 kB / 460.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.1009, allocations: 180.2 kB / 460.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.101, allocations: 4.312 kB / 460.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.101, allocations: 4.125 kB / 460.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.1011, allocations: 65.62 kB / 460.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.1011, allocations: 0 / 460.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.1011, allocations: 0 / 460.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1011, allocations: 4 kB / 460.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.521e-05/0.1012, allocations: 31.98 kB / 460.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.1013, allocations: 161.7 kB / 460.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.679e-05/0.1014, allocations: 62.48 kB / 460.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.556e-05/0.1015, allocations: 48.81 kB / 460.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.1015, allocations: 3.938 kB / 460.8 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.1015, allocations: 30.56 kB / 460.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.1015, allocations: 4 kB / 460.9 MB, free: 3.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002665/0.1018, allocations: 179.3 kB / 461.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.1019, allocations: 89.09 kB / 461.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.102, allocations: 130.2 kB / 461.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.102, allocations: 25.7 kB / 461.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/0.1021, allocations: 88.12 kB / 461.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.1021, allocations: 39.36 kB / 461.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.1021, allocations: 21.72 kB / 461.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1023, allocations: 330.8 kB / 461.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.163e-05/0.1023, allocations: 31.98 kB / 461.8 MB, free: 2.895 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.295e-05/0.1024, allocations: 27.98 kB / 461.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.1025, allocations: 152.2 kB / 462 MB, free: 2.703 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1025, allocations: 0 / 462 MB, free: 2.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001553/0.1027, allocations: 151.2 kB / 462.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.715e-05/0.1027, allocations: 41.69 kB / 462.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1027, allocations: 4 kB / 462.2 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1028, allocations: 0 / 462.2 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.1028, allocations: 8 kB / 462.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1028, allocations: 0 / 462.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.1028, allocations: 4 kB / 462.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.1028, allocations: 3.938 kB / 462.2 MB, free: 2.477 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.0001271/0.103, allocations: 167.5 kB / 462.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.103, allocations: 15.84 kB / 462.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.291e-05/0.103, allocations: 4.375 kB / 462.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.103, allocations: 0 / 462.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.103, allocations: 0 / 462.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.103, allocations: 8 kB / 462.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.1032, allocations: 181.4 kB / 462.5 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1032, allocations: 0 / 462.5 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.1032, allocations: 4 kB / 462.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1032, allocations: 0 / 462.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.1032, allocations: 0 / 462.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.1032, allocations: 4 kB / 462.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1032, allocations: 0 / 462.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.1035, allocations: 278.6 kB / 462.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.1035, allocations: 81.14 kB / 462.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.1036, allocations: 4 kB / 462.9 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.79e-05/0.1036, allocations: 0 / 462.9 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.1036, allocations: 11.94 kB / 462.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.1036, allocations: 7.938 kB / 462.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.484e-05/0.1037, allocations: 95.75 kB / 463 MB, free: 1.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1037, allocations: 0 / 463 MB, free: 1.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.1039, allocations: 32 kB / 463.1 MB, free: 1.488 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.0001555/0.1041, allocations: 119.2 kB / 463.2 MB, free: 1.363 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000308/0.1044, allocations: 295.6 kB / 463.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1044, allocations: 0 / 463.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.1046, allocations: 219.3 kB / 463.7 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.1048, allocations: 23.92 kB / 463.7 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004267/0.1053, allocations: 279 kB / 464 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.1056, allocations: 0.7002 MB / 464.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.796e-05/0.1056, allocations: 4 kB / 464.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.1056, allocations: 7.438 kB / 464.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1056, allocations: 0 / 464.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of Templates: time 0.003737/0.1094, allocations: 1.298 MB / 466 MB, free: 14.49 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile (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 & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches