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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007167/0.0007168, allocations: 87.7 kB / 16.31 MB, free: 6.449 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.0007938/0.0007938, allocations: 178.7 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.242/1.242, allocations: 223.3 MB / 241.2 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2719/0.2719, allocations: 38.09 MB / 330.4 MB, free: 14.16 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002819/0.0002819, allocations: 8 kB / 400.1 MB, free: 9.254 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2423, allocations: 59.16 MB / 459.2 MB, free: 30.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.001913/0.2442, allocations: 1.715 MB / 460.9 MB, free: 29.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006693/0.2449, allocations: 0.4948 MB / 461.4 MB, free: 28.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.245, allocations: 0 / 461.4 MB, free: 28.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.2451, allocations: 21.92 kB / 461.5 MB, free: 28.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.213e-05/0.2452, allocations: 19.62 kB / 461.5 MB, free: 28.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.2454, allocations: 53.11 kB / 461.5 MB, free: 28.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.2455, allocations: 90.42 kB / 461.6 MB, free: 28.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.669e-05/0.2456, allocations: 2.703 kB / 461.6 MB, free: 28.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.754e-05/0.2457, allocations: 29.81 kB / 461.7 MB, free: 28.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.944e-05/0.2457, allocations: 31.25 kB / 461.7 MB, free: 28.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.167e-06/0.2457, allocations: 1.188 kB / 461.7 MB, free: 28.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.2458, allocations: 43.7 kB / 461.7 MB, free: 28.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.242e-05/0.2459, allocations: 30.92 kB / 461.8 MB, free: 28.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.08e-05/0.2459, allocations: 34.02 kB / 461.8 MB, free: 28.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.246, allocations: 75.48 kB / 461.9 MB, free: 28.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.2461, allocations: 1.531 kB / 461.9 MB, free: 28.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2461, allocations: 0 / 461.9 MB, free: 28.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.2461, allocations: 0 / 461.9 MB, free: 28.57 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0002799/0.2464, allocations: 428.9 kB / 462.3 MB, free: 28.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2464, allocations: 9.344 kB / 462.3 MB, free: 28.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.2464, allocations: 12.53 kB / 462.3 MB, free: 28.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.2466, allocations: 191.4 kB / 462.5 MB, free: 27.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.2466, allocations: 5.656 kB / 462.5 MB, free: 27.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.2466, allocations: 9.562 kB / 462.5 MB, free: 27.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.2467, allocations: 87.75 kB / 462.6 MB, free: 27.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.2467, allocations: 0 / 462.6 MB, free: 27.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.2468, allocations: 1.594 kB / 462.6 MB, free: 27.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2468, allocations: 0 / 462.6 MB, free: 27.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.755e-05/0.2468, allocations: 61.53 kB / 462.7 MB, free: 27.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.247, allocations: 179 kB / 462.8 MB, free: 27.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.2471, allocations: 101.4 kB / 462.9 MB, free: 27.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.965e-05/0.2472, allocations: 86.42 kB / 463 MB, free: 27.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-06/0.2472, allocations: 0 / 463 MB, free: 27.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.2472, allocations: 36.2 kB / 463.1 MB, free: 27.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 8.61e-07/0.2472, allocations: 1.031 kB / 463.1 MB, free: 27.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0003854/0.2476, allocations: 303.2 kB / 463.4 MB, free: 27.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.2477, allocations: 99.45 kB / 463.4 MB, free: 27.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.597e-05/0.2478, allocations: 133.4 kB / 463.6 MB, free: 27.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/0.2478, allocations: 27.05 kB / 463.6 MB, free: 27.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.685e-05/0.2478, allocations: 92.52 kB / 463.7 MB, free: 27.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/0.2479, allocations: 76.39 kB / 463.8 MB, free: 27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.2479, allocations: 0 / 463.8 MB, free: 27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.013e-05/0.2479, allocations: 324.5 kB / 464.1 MB, free: 26.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.953e-05/0.248, allocations: 56.52 kB / 464.1 MB, free: 26.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-05/0.2481, allocations: 60.38 kB / 464.2 MB, free: 26.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.2482, allocations: 124.9 kB / 464.3 MB, free: 26.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2482, allocations: 4.734 kB / 464.3 MB, free: 26.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000213/0.2484, allocations: 225.1 kB / 464.5 MB, free: 26.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.081e-05/0.2485, allocations: 69.7 kB / 464.6 MB, free: 26.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2485, allocations: 0.875 kB / 464.6 MB, free: 26.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2485, allocations: 0 / 464.6 MB, free: 26.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.412e-06/0.2485, allocations: 2.062 kB / 464.6 MB, free: 26.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2485, allocations: 0 / 464.6 MB, free: 26.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.247e-05/0.2485, allocations: 12.97 kB / 464.6 MB, free: 26.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.2486, allocations: 4.641 kB / 464.6 MB, free: 26.46 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.000113/0.2487, allocations: 194.7 kB / 464.8 MB, free: 26.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.2487, allocations: 12.77 kB / 464.8 MB, free: 26.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.508e-05/0.2487, allocations: 21.33 kB / 464.9 MB, free: 26.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.2487, allocations: 0 / 464.9 MB, free: 26.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2487, allocations: 1.031 kB / 464.9 MB, free: 26.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2488, allocations: 0.5625 kB / 464.9 MB, free: 26.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.421e-05/0.2489, allocations: 195.2 kB / 465.1 MB, free: 26.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2489, allocations: 4 kB / 465.1 MB, free: 26.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-06/0.2489, allocations: 1.625 kB / 465.1 MB, free: 26.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.2489, allocations: 0 / 465.1 MB, free: 26.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.2489, allocations: 4.344 kB / 465.1 MB, free: 26.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2489, allocations: 9.953 kB / 465.1 MB, free: 26.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.2489, allocations: 0 / 465.1 MB, free: 26.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.2494, allocations: 0.5103 MB / 465.6 MB, free: 25.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.2494, allocations: 88.52 kB / 465.7 MB, free: 25.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.2495, allocations: 4.844 kB / 465.7 MB, free: 25.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.355e-05/0.2495, allocations: 3.719 kB / 465.7 MB, free: 25.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.2495, allocations: 6.703 kB / 465.7 MB, free: 25.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.2495, allocations: 10.42 kB / 465.7 MB, free: 25.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.477e-05/0.2496, allocations: 103.1 kB / 465.8 MB, free: 25.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2496, allocations: 0 / 465.8 MB, free: 25.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.2498, allocations: 45.55 kB / 465.8 MB, free: 25.69 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.0001351/0.25, allocations: 115.2 kB / 465.9 MB, free: 25.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005764/0.2505, allocations: 0.7001 MB / 466.6 MB, free: 25.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2506, allocations: 0 / 466.6 MB, free: 25.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003654/0.2509, allocations: 0.5671 MB / 467.2 MB, free: 24.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.2511, allocations: 17.81 kB / 467.2 MB, free: 24.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/0.2517, allocations: 470.8 kB / 467.7 MB, free: 24.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.2518, allocations: 0.719 MB / 468.4 MB, free: 24.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.48e-05/0.2519, allocations: 5.812 kB / 468.4 MB, free: 24.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.896e-06/0.2519, allocations: 9.391 kB / 468.4 MB, free: 24.01 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2519, allocations: 0 / 468.4 MB, free: 24.01 MB / 350.1 MB Notification: Performance of Templates: time 0.003835/0.2557, allocations: 1.687 MB / 470.1 MB, free: 23.85 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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