Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.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.Load,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.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,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.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 103.1 kB / 17.59 MB, free: 5.562 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.001674/0.001674, allocations: 191.6 kB / 18.52 MB, free: 4.641 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.297/1.297, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1741/0.1741, allocations: 38.03 MB / 330.4 MB, free: 8.824 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.06 kB / 399.5 MB, free: 34.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08438/0.08579, allocations: 58.06 MB / 457.5 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.005999/0.09182, allocations: 4.486 MB / 462 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002522/0.09437, allocations: 1.535 MB / 463.6 MB, free: 2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002843/0.09468, allocations: 11.94 kB / 463.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009271/0.09562, allocations: 292.8 kB / 463.9 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006579/0.09628, allocations: 258.7 kB / 464.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006703/0.09697, allocations: 267.4 kB / 464.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000754/0.09773, allocations: 0.6274 MB / 465 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004533/0.0982, allocations: 288.7 kB / 465.3 MB, free: 284 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004286/0.09864, allocations: 282.9 kB / 465.6 MB, free: 0 / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006955/0.09935, allocations: 386.9 kB / 465.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.09947, allocations: 40 kB / 466 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003262/0.0998, allocations: 155.7 kB / 466.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000259/0.1001, allocations: 247.3 kB / 466.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003458/0.1004, allocations: 270.7 kB / 466.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007044/0.1011, allocations: 0.6425 MB / 467.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1012, allocations: 4 kB / 467.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.093e-06/0.1012, allocations: 0 / 467.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.072e-05/0.1012, allocations: 0 / 467.3 MB, free: 14.27 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001943/0.1031, allocations: 0.8866 MB / 468.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.1032, allocations: 11.89 kB / 468.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005775/0.1038, allocations: 92.14 kB / 468.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009236/0.1047, allocations: 483.8 kB / 468.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.1047, allocations: 33.38 kB / 468.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.1049, allocations: 56.03 kB / 468.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009846/0.1059, allocations: 0.6801 MB / 469.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.1059, allocations: 4 kB / 469.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.845e-05/0.106, allocations: 16 kB / 469.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/0.1061, allocations: 44.97 kB / 469.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008403/0.1069, allocations: 0.5267 MB / 470.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00339/0.1103, allocations: 3.106 MB / 473.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/0.1109, allocations: 321.2 kB / 473.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.1112, allocations: 182.6 kB / 473.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.1112, allocations: 4 kB / 473.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1112, allocations: 46.5 kB / 473.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.974e-06/0.1112, allocations: 0 / 473.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001996/0.1132, allocations: 1.202 MB / 474.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.1133, allocations: 89.17 kB / 475 MB, free: 6.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004118/0.1137, allocations: 393.5 kB / 475.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.1138, allocations: 33.7 kB / 475.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.114, allocations: 295.2 kB / 475.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.1141, allocations: 122.3 kB / 475.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.1142, allocations: 106.1 kB / 476 MB, free: 5.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1144, allocations: 350.7 kB / 476.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.1147, allocations: 193 kB / 476.5 MB, free: 4.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/0.1151, allocations: 385.5 kB / 476.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000755/0.1159, allocations: 0.5893 MB / 477.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.1159, allocations: 4 kB / 477.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001878/0.1178, allocations: 0.8296 MB / 478.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.1178, allocations: 8 kB / 478.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.1178, allocations: 8 kB / 478.3 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.1191, allocations: 270 kB / 478.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006115/0.1197, allocations: 139.8 kB / 478.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004998/0.1247, allocations: 4.041 MB / 482.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003882/0.1251, allocations: 31.91 kB / 482.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.1252, allocations: 24 kB / 482.8 MB, free: 13.81 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * Array equations: 0 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002843/0.1254, allocations: 225.9 kB / 483 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-05/0.1255, allocations: 39.53 kB / 483.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007994/0.1264, allocations: 493 kB / 483.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.1264, allocations: 7.938 kB / 483.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.1264, allocations: 3.938 kB / 483.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.1264, allocations: 7.984 kB / 483.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.1278, allocations: 1.007 MB / 484.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.1279, allocations: 4 kB / 484.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004425/0.1283, allocations: 91.81 kB / 484.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1283, allocations: 4 kB / 484.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/0.1284, allocations: 8 kB / 484.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1284, allocations: 4.062 kB / 484.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.1284, allocations: 4 kB / 484.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009943/0.1294, allocations: 0.7472 MB / 485.4 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.1295, allocations: 120.5 kB / 485.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.316e-05/0.1296, allocations: 11.98 kB / 485.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.1298, allocations: 19.98 kB / 485.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.1299, allocations: 23.97 kB / 485.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.1299, allocations: 12 kB / 485.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002791/0.1302, allocations: 267.1 kB / 485.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1302, allocations: 0 / 485.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005188/0.1307, allocations: 120 kB / 486 MB, free: 10.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * Array equations: 0 * 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.0001278/0.1309, allocations: 119.2 kB / 486.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.1324, allocations: 0.8568 MB / 487 MB, free: 9.496 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1325, allocations: 0 / 487 MB, free: 9.496 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.1327, allocations: 195.6 kB / 487.2 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005746/0.1333, allocations: 99.39 kB / 487.3 MB, free: 9.211 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/0.1366, allocations: 1.516 MB / 488.8 MB, free: 7.652 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.1371, allocations: 0.9015 MB / 489.7 MB, free: 6.727 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.1373, allocations: 39.42 kB / 489.7 MB, free: 6.688 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1373, allocations: 0 / 489.7 MB, free: 6.688 MB / 366.1 MB Notification: Performance of Templates: time 0.01077/0.1481, allocations: 7.871 MB / 497.6 MB, free: 14.82 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Load.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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] Variables in the result: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],time