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.001342/0.001342, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001488/0.001488, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.348/1.348, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1744/0.1744, allocations: 38.04 MB / 330.5 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.88 kB / 400.3 MB, free: 33.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09313/0.09444, allocations: 58.07 MB / 458.3 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003209/0.09769, allocations: 2.04 MB / 460.4 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007128/0.09842, allocations: 0.5259 MB / 460.9 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.09849, allocations: 0 / 460.9 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.09864, allocations: 11.92 kB / 460.9 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.485e-05/0.09874, allocations: 27.83 kB / 460.9 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.09908, allocations: 71.83 kB / 461 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.09921, allocations: 63.7 kB / 461.1 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.09926, allocations: 4 kB / 461.1 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.371e-05/0.09934, allocations: 27.91 kB / 461.1 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.934e-05/0.0994, allocations: 31.84 kB / 461.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.09941, allocations: 0 / 461.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.09958, allocations: 75.84 kB / 461.2 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.283e-05/0.09964, allocations: 31.84 kB / 461.2 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.09969, allocations: 27.75 kB / 461.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.09987, allocations: 131.5 kB / 461.4 MB, free: 4.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.09989, allocations: 3.984 kB / 461.4 MB, free: 4.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09989, allocations: 4 kB / 461.4 MB, free: 4.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.0999, allocations: 0 / 461.4 MB, free: 4.219 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0003782/0.1003, allocations: 428.8 kB / 461.8 MB, free: 3.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1003, allocations: 12.03 kB / 461.8 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.1004, allocations: 12.75 kB / 461.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.1005, allocations: 192.1 kB / 462 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.81e-06/0.1005, allocations: 384 / 462 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.1006, allocations: 8.062 kB / 462 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.1007, allocations: 89.67 kB / 462.1 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.1007, allocations: 4 kB / 462.1 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.1007, allocations: 0 / 462.1 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1007, allocations: 0 / 462.1 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.225e-05/0.1008, allocations: 55.92 kB / 462.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.1009, allocations: 181.5 kB / 462.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.1011, allocations: 94.55 kB / 462.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.333e-05/0.1011, allocations: 88.81 kB / 462.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.1011, allocations: 7.984 kB / 462.5 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.1012, allocations: 34.56 kB / 462.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.133e-06/0.1012, allocations: 0 / 462.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0003707/0.1016, allocations: 306.2 kB / 462.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.1016, allocations: 101.1 kB / 463 MB, free: 2.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.1017, allocations: 136.7 kB / 463.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.1017, allocations: 25.7 kB / 463.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.1018, allocations: 96.56 kB / 463.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.814e-05/0.1019, allocations: 78.84 kB / 463.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.1019, allocations: 29.7 kB / 463.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.102, allocations: 322.8 kB / 463.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.05e-05/0.1021, allocations: 59.97 kB / 463.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.909e-05/0.1022, allocations: 51.98 kB / 463.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.1024, allocations: 254.5 kB / 464 MB, free: 1.363 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1024, allocations: 0 / 464 MB, free: 1.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002143/0.1026, allocations: 219.1 kB / 464.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.715e-05/0.1027, allocations: 65.72 kB / 464.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1027, allocations: 7.984 kB / 464.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1027, allocations: 0 / 464.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.1027, allocations: 0 / 464.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1027, allocations: 4 kB / 464.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.369e-05/0.1028, allocations: 15.84 kB / 464.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.1028, allocations: 4 kB / 464.3 MB, free: 1.035 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.0001421/0.1029, allocations: 195.4 kB / 464.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.103, allocations: 23.8 kB / 464.5 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.236e-05/0.103, allocations: 9.188 kB / 464.5 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.103, allocations: 0 / 464.5 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.103, allocations: 0 / 464.5 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.103, allocations: 4 kB / 464.5 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.1031, allocations: 201.4 kB / 464.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1031, allocations: 0 / 464.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-07/0.1031, allocations: 4 kB / 464.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.1032, allocations: 0 / 464.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.1032, allocations: 7.938 kB / 464.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1032, allocations: 0 / 464.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1032, allocations: 0 / 464.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005203/0.1037, allocations: 0.5174 MB / 465.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.1038, allocations: 88.95 kB / 465.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.1038, allocations: 4 kB / 465.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.544e-05/0.1038, allocations: 4 kB / 465.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.1038, allocations: 4 kB / 465.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.1039, allocations: 7.938 kB / 465.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.387e-05/0.1039, allocations: 103.2 kB / 465.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1039, allocations: 0 / 465.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.1042, allocations: 48.03 kB / 465.5 MB, free: 15.72 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 (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.0001575/0.1043, allocations: 115.2 kB / 465.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006207/0.105, allocations: 0.7062 MB / 466.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.105, allocations: 0 / 466.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004316/0.1054, allocations: 0.5731 MB / 466.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.1056, allocations: 22.58 kB / 466.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005744/0.1062, allocations: 432.1 kB / 467.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.1065, allocations: 0.716 MB / 468.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.792e-05/0.1065, allocations: 4 kB / 468.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.114e-05/0.1065, allocations: 7.438 kB / 468.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1065, allocations: 0 / 468.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of Templates: time 0.004397/0.1109, allocations: 1.91 MB / 470 MB, free: 11.18 MB / 350.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches