Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 106.9 kB / 16.92 MB, free: 5.777 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.002222/0.002222, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.391/1.391, allocations: 222.9 MB / 241.5 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1759/0.1759, allocations: 38.04 MB / 329.7 MB, free: 8.848 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 68.86 kB / 398.8 MB, free: 34.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1128, allocations: 58.06 MB / 456.9 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.007163/0.12, allocations: 4.405 MB / 461.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.1225, allocations: 1.511 MB / 462.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.1227, allocations: 15.88 kB / 462.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009939/0.1237, allocations: 286.7 kB / 463.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005743/0.1243, allocations: 286.6 kB / 463.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000601/0.1249, allocations: 247.4 kB / 463.6 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006153/0.1255, allocations: 0.6118 MB / 464.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.1259, allocations: 223.8 kB / 464.4 MB, free: 492 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003228/0.1263, allocations: 259 kB / 464.7 MB, free: 232 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005186/0.1268, allocations: 370.9 kB / 465 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.593e-05/0.1269, allocations: 40 kB / 465.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000409/0.1273, allocations: 235.6 kB / 465.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.1275, allocations: 235.4 kB / 465.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.1278, allocations: 250.7 kB / 465.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006185/0.1284, allocations: 0.6543 MB / 466.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1284, allocations: 0 / 466.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1284, allocations: 4 kB / 466.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.1284, allocations: 0 / 466.4 MB, free: 14.46 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001255/0.1297, allocations: 0.7738 MB / 467.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1297, allocations: 15.89 kB / 467.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000632/0.1304, allocations: 92.2 kB / 467.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006023/0.131, allocations: 399.2 kB / 467.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.131, allocations: 21.38 kB / 467.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.1312, allocations: 60.09 kB / 467.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009066/0.1321, allocations: 0.6875 MB / 468.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.1321, allocations: 7.938 kB / 468.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.084e-05/0.1322, allocations: 19.98 kB / 468.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002035/0.1324, allocations: 64.95 kB / 468.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009645/0.1333, allocations: 0.6713 MB / 469.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003267/0.1366, allocations: 2.654 MB / 471.9 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.1371, allocations: 317.3 kB / 472.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.1374, allocations: 209.7 kB / 472.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.1374, allocations: 0 / 472.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.1375, allocations: 42.5 kB / 472.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.865e-06/0.1375, allocations: 0 / 472.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001843/0.1393, allocations: 1.298 MB / 473.8 MB, free: 6.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1394, allocations: 81.23 kB / 473.8 MB, free: 6.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.1397, allocations: 287.3 kB / 474.1 MB, free: 6.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.1397, allocations: 37.69 kB / 474.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.1398, allocations: 247.7 kB / 474.4 MB, free: 6.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.614e-05/0.1399, allocations: 141.9 kB / 474.5 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.1401, allocations: 82.03 kB / 474.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1402, allocations: 354.7 kB / 475 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.1405, allocations: 192.8 kB / 475.1 MB, free: 5.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.1408, allocations: 317.3 kB / 475.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006217/0.1414, allocations: 0.5662 MB / 476 MB, free: 4.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1414, allocations: 3.938 kB / 476 MB, free: 4.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001104/0.1425, allocations: 0.6779 MB / 476.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1426, allocations: 8 kB / 476.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007626/0.1433, allocations: 491.9 kB / 477.2 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004041/0.1438, allocations: 113.6 kB / 477.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/0.144, allocations: 79.89 kB / 477.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/0.1467, allocations: 3.262 MB / 480.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.1469, allocations: 27.91 kB / 480.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/0.147, allocations: 20 kB / 480.7 MB, free: 15.37 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002263/0.1472, allocations: 205.7 kB / 480.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.535e-05/0.1473, allocations: 39.52 kB / 480.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006672/0.148, allocations: 465.2 kB / 481.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.148, allocations: 8 kB / 481.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.148, allocations: 0 / 481.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.148, allocations: 7.922 kB / 481.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.1493, allocations: 1.021 MB / 482.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1494, allocations: 4 kB / 482.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.1497, allocations: 63.89 kB / 482.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.1497, allocations: 8.078 kB / 482.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.1497, allocations: 8 kB / 482.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1498, allocations: 3.984 kB / 482.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1498, allocations: 12 kB / 482.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008584/0.1506, allocations: 0.7395 MB / 483.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.1508, allocations: 136.7 kB / 483.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.1508, allocations: 11.94 kB / 483.4 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.151, allocations: 19.97 kB / 483.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.1511, allocations: 19.98 kB / 483.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.1511, allocations: 11.98 kB / 483.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000186/0.1513, allocations: 207 kB / 483.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1513, allocations: 0 / 483.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004859/0.1518, allocations: 120 kB / 483.8 MB, free: 12.15 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002214/0.152, allocations: 127.2 kB / 483.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.1531, allocations: 0.7795 MB / 484.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1531, allocations: 1.125 kB / 484.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.1534, allocations: 217.4 kB / 484.9 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004973/0.1539, allocations: 93.41 kB / 485 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.1554, allocations: 1.099 MB / 486.1 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.1559, allocations: 0.8785 MB / 487 MB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002627/0.1561, allocations: 111.2 kB / 487.1 MB, free: 8.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.908e-05/0.1562, allocations: 27.44 kB / 487.1 MB, free: 8.75 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1562, allocations: 4 kB / 487.1 MB, free: 8.746 MB / 366.1 MB Notification: Performance of Templates: time 0.008046/0.1643, allocations: 4.185 MB / 491.3 MB, free: 4.582 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches