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.0007504/0.0007506, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.0008854/0.0008855, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.208/1.208, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1579/0.1579, allocations: 38.1 MB / 330.8 MB, free: 8.531 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002672, allocations: 12 kB / 400.7 MB, free: 34.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08283/0.08311, allocations: 59.17 MB / 459.9 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.004681/0.08783, allocations: 4.744 MB / 464.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.09025, allocations: 1.691 MB / 466.3 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002843/0.09057, allocations: 27.81 kB / 466.4 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.09075, allocations: 55.55 kB / 466.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005412/0.0913, allocations: 242.9 kB / 466.6 MB, free: 264 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.09185, allocations: 239.6 kB / 466.9 MB, free: 24 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008233/0.09269, allocations: 0.8847 MB / 467.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007067/0.09341, allocations: 0.5052 MB / 468.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003303/0.09375, allocations: 234.9 kB / 468.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004699/0.09423, allocations: 374.8 kB / 468.9 MB, free: 14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.582e-05/0.0943, allocations: 24 kB / 468.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.09456, allocations: 139.7 kB / 469 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.09476, allocations: 215.4 kB / 469.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.09498, allocations: 276.3 kB / 469.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005063/0.0955, allocations: 0.6227 MB / 470.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.09551, allocations: 0 / 470.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.09552, allocations: 0 / 470.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.09553, allocations: 0 / 470.1 MB, free: 12.73 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.00144/0.09697, allocations: 0.7894 MB / 470.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.09701, allocations: 12.03 kB / 470.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004922/0.09751, allocations: 92.16 kB / 471 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007821/0.0983, allocations: 483.8 kB / 471.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.09835, allocations: 41.31 kB / 471.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.09847, allocations: 48.11 kB / 471.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008316/0.09931, allocations: 0.684 MB / 472.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.09934, allocations: 8 kB / 472.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.226e-05/0.09938, allocations: 16 kB / 472.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.09949, allocations: 40.97 kB / 472.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007053/0.1002, allocations: 0.519 MB / 472.8 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003074/0.1033, allocations: 3.114 MB / 476 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/0.1038, allocations: 325.2 kB / 476.3 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.104, allocations: 178.2 kB / 476.4 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.1041, allocations: 4 kB / 476.5 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.1041, allocations: 42.5 kB / 476.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.743e-06/0.1041, allocations: 0 / 476.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001735/0.1058, allocations: 1.214 MB / 477.7 MB, free: 4.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.1059, allocations: 77.11 kB / 477.8 MB, free: 4.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/0.1063, allocations: 397.5 kB / 478.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.1063, allocations: 33.64 kB / 478.2 MB, free: 4.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.1065, allocations: 299.2 kB / 478.5 MB, free: 3.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.522e-05/0.1066, allocations: 114.3 kB / 478.6 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.004e-05/0.1066, allocations: 49.83 kB / 478.7 MB, free: 3.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1068, allocations: 370.7 kB / 479 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.107, allocations: 185 kB / 479.2 MB, free: 3.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.1074, allocations: 373.5 kB / 479.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006922/0.1081, allocations: 0.6088 MB / 480.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1081, allocations: 4 kB / 480.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001749/0.1099, allocations: 0.8262 MB / 481 MB, free: 1.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1099, allocations: 8.062 kB / 481 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.1099, allocations: 12 kB / 481 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/0.1111, allocations: 269.4 kB / 481.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/0.1117, allocations: 139.8 kB / 481.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004112/0.1158, allocations: 3.742 MB / 485.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/0.1161, allocations: 39.94 kB / 485.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.1162, allocations: 24 kB / 485.2 MB, free: 12.71 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.000235/0.1164, allocations: 225.5 kB / 485.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.1165, allocations: 35.53 kB / 485.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006993/0.1172, allocations: 489.1 kB / 486 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.1172, allocations: 4 kB / 486 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.1172, allocations: 0 / 486 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.1172, allocations: 3.984 kB / 486 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.1185, allocations: 1.015 MB / 487 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1185, allocations: 0 / 487 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004113/0.1189, allocations: 87.88 kB / 487.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.1189, allocations: 8.156 kB / 487.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.1189, allocations: 11.94 kB / 487.1 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.119, allocations: 7.938 kB / 487.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.119, allocations: 0 / 487.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008651/0.1198, allocations: 0.7467 MB / 487.8 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-05/0.1199, allocations: 116.5 kB / 488 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/0.12, allocations: 16.05 kB / 488 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.1202, allocations: 15.98 kB / 488 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.1203, allocations: 31.84 kB / 488 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.1203, allocations: 8 kB / 488 MB, free: 9.777 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002411/0.1206, allocations: 271.1 kB / 488.3 MB, free: 9.516 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1206, allocations: 0 / 488.3 MB, free: 9.516 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004485/0.121, allocations: 120 kB / 488.4 MB, free: 9.398 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.0001094/0.1211, allocations: 123.1 kB / 488.5 MB, free: 9.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.1224, allocations: 0.7911 MB / 489.3 MB, free: 8.453 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1224, allocations: 0 / 489.3 MB, free: 8.453 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.1227, allocations: 203.6 kB / 489.5 MB, free: 8.254 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005396/0.1232, allocations: 82.33 kB / 489.6 MB, free: 8.172 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.1262, allocations: 1.785 MB / 491.4 MB, free: 6.355 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.1266, allocations: 0.894 MB / 492.3 MB, free: 5.438 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003327/0.127, allocations: 131.3 kB / 492.4 MB, free: 5.305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.1271, allocations: 35.42 kB / 492.4 MB, free: 5.27 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1271, allocations: 0 / 492.4 MB, free: 5.27 MB / 366.1 MB Notification: Performance of Templates: time 0.009021/0.1361, allocations: 5.767 MB / 498.2 MB, free: 15.54 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Load.mat","../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:$cse7,load.R_base,load.R_n,load.S_base,load.S_nom,load.V2_nom,load.V_nom,load.Z_start[1],load.Z_start[2],load.c0,load.cpl,load.dynType,load.i_start[1],load.i_start[2],load.imax,load.pq0[1],load.pq0[2],load.puUnits,load.r_n,load.tcst,load.use_pq_in,load.v[1],load.v[2],load.v_start[1],load.v_start[2],meter.I_base,meter.S_nom,meter.V_base,meter.V_nom,meter.abc,meter.av,meter.i[1],meter.i[2],meter.i[3],meter.p[1],meter.p[2],meter.p[3],meter.puUnits,meter.tcst,meter.v[1],meter.v[2],meter.v[3],system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.omega_nom,system.refType,system.synRef,system.w_nom,time,transPh.a_end,transPh.a_start,transPh.coef,transPh.n,transPh.ph_end,transPh.ph_start,transPh.t_change,transPh.t_duration,trsSignal[1].coef,trsSignal[1].s_end,trsSignal[1].s_start,trsSignal[1].t_change,trsSignal[1].t_duration,trsSignal[2].coef,trsSignal[2].s_end,trsSignal[2].s_start,trsSignal[2].t_change,trsSignal[2].t_duration,voltage.S_nom,voltage.V_base,voltage.V_nom,voltage.alpha0,voltage.f,voltage.fType,voltage.puUnits,voltage.use_vPhasor_in,voltage.v0