Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 107.7 kB / 16.92 MB, free: 5.656 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.001114/0.001114, allocations: 189.6 kB / 17.85 MB, free: 5.176 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.422/1.422, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2423/0.2423, allocations: 38.03 MB / 329.7 MB, free: 8.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 60.97 kB / 398.8 MB, free: 34.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1167, allocations: 58.06 MB / 456.9 MB, free: 8.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003713/0.1204, allocations: 2.051 MB / 458.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007746/0.1212, allocations: 0.522 MB / 459.4 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.985e-05/0.1213, allocations: 0 / 459.4 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.1215, allocations: 7.922 kB / 459.4 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.01e-05/0.1216, allocations: 27.84 kB / 459.5 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.122, allocations: 63.83 kB / 459.5 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.1221, allocations: 67.7 kB / 459.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.1222, allocations: 4 kB / 459.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.842e-05/0.1222, allocations: 27.84 kB / 459.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.227e-05/0.1223, allocations: 31.91 kB / 459.7 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.1223, allocations: 0 / 459.7 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.1225, allocations: 79.83 kB / 459.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.306e-05/0.1226, allocations: 43.84 kB / 459.8 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.1226, allocations: 43.56 kB / 459.8 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.1228, allocations: 147.7 kB / 460 MB, free: 4.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1228, allocations: 4 kB / 460 MB, free: 4.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1228, allocations: 0 / 460 MB, free: 4.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1229, allocations: 0 / 460 MB, free: 4.945 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004257/0.1233, allocations: 484.5 kB / 460.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1233, allocations: 15.89 kB / 460.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.1234, allocations: 12.75 kB / 460.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.1235, allocations: 198.8 kB / 460.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1236, allocations: 7.875 kB / 460.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.1236, allocations: 0 / 460.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.1238, allocations: 130.6 kB / 460.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1238, allocations: 0 / 460.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1238, allocations: 4 kB / 460.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.1238, allocations: 0 / 460.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1239, allocations: 92.23 kB / 460.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.1241, allocations: 206 kB / 461.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.1243, allocations: 154.8 kB / 461.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.1244, allocations: 145.2 kB / 461.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.1245, allocations: 3.984 kB / 461.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.1245, allocations: 30.56 kB / 461.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 9.42e-07/0.1245, allocations: 0 / 461.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006031/0.1251, allocations: 475.6 kB / 461.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/0.1252, allocations: 109.1 kB / 462 MB, free: 2.727 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.1254, allocations: 146.4 kB / 462.1 MB, free: 2.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.1254, allocations: 25.7 kB / 462.2 MB, free: 2.535 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.1255, allocations: 96.8 kB / 462.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.1256, allocations: 133.9 kB / 462.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.1256, allocations: 33.69 kB / 462.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1258, allocations: 338.7 kB / 462.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.1259, allocations: 96 kB / 462.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-05/0.126, allocations: 96.94 kB / 462.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.1264, allocations: 360.4 kB / 463.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1264, allocations: 0 / 463.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003192/0.1267, allocations: 323 kB / 463.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.252e-05/0.1268, allocations: 89.56 kB / 463.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1268, allocations: 0 / 463.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1268, allocations: 0 / 463.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.424e-06/0.1268, allocations: 4 kB / 463.7 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.1268, allocations: 0 / 463.7 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.1269, allocations: 23.81 kB / 463.7 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.1269, allocations: 7.938 kB / 463.7 MB, free: 0.9102 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.00018/0.1271, allocations: 239.4 kB / 464 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.1271, allocations: 19.81 kB / 464 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.601e-05/0.1272, allocations: 13.95 kB / 464 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1272, allocations: 0 / 464 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.1272, allocations: 4 kB / 464 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1272, allocations: 0 / 464 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.1273, allocations: 233.2 kB / 464.2 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1273, allocations: 8 kB / 464.2 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.1274, allocations: 0 / 464.2 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1274, allocations: 0 / 464.2 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.1274, allocations: 4 kB / 464.2 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.1274, allocations: 4 kB / 464.2 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1274, allocations: 0 / 464.2 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008612/0.1283, allocations: 0.8965 MB / 465.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.1283, allocations: 100.7 kB / 465.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.1284, allocations: 7.969 kB / 465.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.297e-05/0.1284, allocations: 12 kB / 465.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.1284, allocations: 11.94 kB / 465.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.1285, allocations: 4 kB / 465.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.607e-05/0.1285, allocations: 122 kB / 465.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1285, allocations: 0 / 465.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1288, allocations: 64 kB / 465.5 MB, free: 15.08 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.0001633/0.129, allocations: 111.2 kB / 465.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.1303, allocations: 1.589 MB / 467.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1303, allocations: 0 / 467.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.1313, allocations: 1.362 MB / 468.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.1316, allocations: 34.83 kB / 468.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008264/0.1324, allocations: 0.6297 MB / 469.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.1327, allocations: 0.7517 MB / 469.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.153e-05/0.1328, allocations: 256 / 469.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.327e-05/0.1328, allocations: 11.44 kB / 469.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1328, allocations: 0 / 469.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of Templates: time 0.006098/0.1389, allocations: 2.646 MB / 472.6 MB, free: 7.879 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches