Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,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.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,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.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 181 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008279/0.0008279, allocations: 94.59 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.173/0.173, allocations: 38.06 MB / 357.2 MB, free: 1.875 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003042, allocations: 8 kB / 424 MB, free: 37.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.289, allocations: 56.32 MB / 480.3 MB, free: 9.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.4248, allocations: 104.6 MB / 0.5712 GB, free: 13.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.4251, allocations: 95.95 kB / 0.5713 GB, free: 13.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04855/0.4737, allocations: 17.48 MB / 0.5884 GB, free: 12 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4737, allocations: 0 / 0.5884 GB, free: 12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.823e-05/0.4738, allocations: 19.98 kB / 0.5884 GB, free: 11.98 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002059/0.4758, allocations: 0.8438 MB / 0.5892 GB, free: 11.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4759, allocations: 8.031 kB / 0.5892 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.477, allocations: 163 kB / 0.5894 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003431/0.4805, allocations: 1.213 MB / 0.5906 GB, free: 9.664 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.4805, allocations: 29 kB / 0.5906 GB, free: 9.637 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.4807, allocations: 63.88 kB / 0.5907 GB, free: 9.574 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.482, allocations: 0.8394 MB / 0.5915 GB, free: 8.664 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.4821, allocations: 7.938 kB / 0.5915 GB, free: 8.656 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.93e-05/0.4821, allocations: 31.94 kB / 0.5915 GB, free: 8.625 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000162/0.4823, allocations: 28.98 kB / 0.5916 GB, free: 8.598 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009518/0.4833, allocations: 0.5971 MB / 0.5921 GB, free: 8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0119/0.4952, allocations: 5.783 MB / 0.5978 GB, free: 2.066 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.4964, allocations: 0.7607 MB / 0.5985 GB, free: 1.289 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.854e-05/0.4965, allocations: 20.41 kB / 0.5986 GB, free: 1.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.4965, allocations: 39 kB / 0.5986 GB, free: 1.223 MB / 426.7 MB Notification: Performance of pre-optimization done (n=52): time 3.336e-06/0.4965, allocations: 0 / 0.5986 GB, free: 1.223 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.01981/0.5164, allocations: 6.478 MB / 0.6049 GB, free: 10.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.5165, allocations: 85.55 kB / 0.605 GB, free: 10.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004877/0.517, allocations: 361 kB / 0.6053 GB, free: 10.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000212/0.5172, allocations: 33.7 kB / 0.6054 GB, free: 10.13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.5174, allocations: 319.8 kB / 0.6057 GB, free: 9.809 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000331/0.5178, allocations: 253 kB / 0.6059 GB, free: 9.559 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.5179, allocations: 16 kB / 0.6059 GB, free: 9.543 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.5181, allocations: 374.8 kB / 0.6063 GB, free: 9.168 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.5193, allocations: 0.7981 MB / 0.6071 GB, free: 8.371 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.5206, allocations: 1.013 MB / 0.6081 GB, free: 7.273 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.522, allocations: 0.901 MB / 0.6089 GB, free: 6.375 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.522, allocations: 0 / 0.6089 GB, free: 6.375 MB / 442.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.01696/0.539, allocations: 5.391 MB / 0.6142 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.5391, allocations: 8 kB / 0.6142 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0121/0.5512, allocations: 4.263 MB / 0.6184 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01841/0.5696, allocations: 5.842 MB / 0.6241 GB, free: 6.824 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/0.5702, allocations: 119.8 kB / 0.6242 GB, free: 6.707 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01717/0.5874, allocations: 11.72 MB / 0.6356 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007228/0.5881, allocations: 59.84 kB / 0.6357 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002104/0.5883, allocations: 179.8 kB / 0.6359 GB, free: 10.62 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (65): * Single equations (assignments): 62 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(7,32.7%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004746/0.5888, allocations: 253.5 kB / 0.6361 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.589, allocations: 51.44 kB / 0.6362 GB, free: 10.31 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/0.6025, allocations: 4.08 MB / 0.6401 GB, free: 6.211 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.495e-05/0.6026, allocations: 11.98 kB / 0.6402 GB, free: 6.199 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6026, allocations: 0 / 0.6402 GB, free: 6.199 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/0.6027, allocations: 4 kB / 0.6402 GB, free: 6.195 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0163/0.619, allocations: 5.485 MB / 0.6455 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.619, allocations: 0 / 0.6455 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/0.6194, allocations: 59.91 kB / 0.6456 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2128/0.8322, allocations: 7.966 MB / 0.6533 GB, free: 141 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004525/0.8327, allocations: 234.8 kB / 0.6536 GB, free: 141 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01745/0.8502, allocations: 14.64 MB / 0.6679 GB, free: 137.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.8502, allocations: 3.875 kB / 0.6679 GB, free: 137.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01236/0.8626, allocations: 4.552 MB / 0.6723 GB, free: 136.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.8628, allocations: 119.4 kB / 0.6724 GB, free: 136 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002626/0.863, allocations: 198 kB / 0.6726 GB, free: 136 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004873/0.8635, allocations: 44.86 kB / 0.6727 GB, free: 136 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003373/0.8639, allocations: 150.5 kB / 0.6728 GB, free: 136 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/0.864, allocations: 167.2 kB / 0.673 GB, free: 136 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002446/0.8643, allocations: 267.9 kB / 0.6732 GB, free: 135.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8643, allocations: 3.875 kB / 0.6732 GB, free: 135.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001187/0.8655, allocations: 388.2 kB / 0.6736 GB, free: 135.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * 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 (34): * Single equations (assignments): 30 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {12,9} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002655/0.8658, allocations: 162.3 kB / 0.6738 GB, free: 135.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00372/0.8695, allocations: 2.418 MB / 0.6761 GB, free: 134.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.8695, allocations: 3.781 kB / 0.6761 GB, free: 134.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0028/0.8723, allocations: 1.589 MB / 0.6777 GB, free: 134.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000537/0.8729, allocations: 109.1 kB / 0.6778 GB, free: 134.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.8769, allocations: 3.991 MB / 0.6817 GB, free: 132.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.8773, allocations: 0.9857 MB / 0.6826 GB, free: 131.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003525/0.8777, allocations: 137.3 kB / 0.6828 GB, free: 131.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.536e-05/0.8778, allocations: 41.56 kB / 0.6828 GB, free: 131.4 MB / 474.7 MB Notification: Performance of SimCode: time 5.71e-07/0.8778, allocations: 1.859 kB / 0.6828 GB, free: 131.4 MB / 474.7 MB Notification: Performance of Templates: time 0.03248/0.9102, allocations: 33.05 MB / 0.7151 GB, free: 104.5 MB / 474.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Line.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches