Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.Sensor,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.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,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.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 188.9 kB / 17.27 MB, free: 4.504 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.586/1.586, allocations: 205.1 MB / 223.1 MB, free: 8.457 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.001413/0.001413, allocations: 96.03 kB / 270.5 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1828/0.1828, allocations: 38 MB / 355.8 MB, free: 2.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009939/0.000994, allocations: 55.91 kB / 421.9 MB, free: 37.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3534, allocations: 55.24 MB / 477.1 MB, free: 9.914 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.007755/0.3612, allocations: 5.159 MB / 482.3 MB, free: 6.266 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003509/0.3648, allocations: 1.662 MB / 483.9 MB, free: 5.105 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005876/0.3654, allocations: 27.16 kB / 483.9 MB, free: 5.094 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.3665, allocations: 274.1 kB / 484.2 MB, free: 4.93 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.3676, allocations: 264.7 kB / 484.5 MB, free: 4.785 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.3687, allocations: 230.1 kB / 484.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001542/0.3703, allocations: 1.008 MB / 485.7 MB, free: 4.367 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005731/0.3709, allocations: 229.1 kB / 485.9 MB, free: 4.277 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004798/0.3714, allocations: 244.8 kB / 486.2 MB, free: 4.188 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006896/0.3721, allocations: 434.5 kB / 486.6 MB, free: 4.055 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.421e-05/0.3722, allocations: 27.5 kB / 486.6 MB, free: 4.055 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006002/0.3728, allocations: 234.5 kB / 486.8 MB, free: 3.988 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002958/0.3731, allocations: 228.5 kB / 487.1 MB, free: 3.926 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000299/0.3734, allocations: 278.3 kB / 487.3 MB, free: 3.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009721/0.3744, allocations: 0.719 MB / 488.1 MB, free: 3.516 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3744, allocations: 5.031 kB / 488.1 MB, free: 3.512 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3744, allocations: 0 / 488.1 MB, free: 3.512 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.3744, allocations: 3.938 kB / 488.1 MB, free: 3.508 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001687/0.3761, allocations: 0.8798 MB / 489 MB, free: 2.863 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3761, allocations: 10.12 kB / 489 MB, free: 2.863 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005807/0.3767, allocations: 92.84 kB / 489.1 MB, free: 2.832 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007004/0.3774, allocations: 419.5 kB / 489.5 MB, free: 2.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.3775, allocations: 28.94 kB / 489.5 MB, free: 2.508 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.504e-05/0.3776, allocations: 43.33 kB / 489.5 MB, free: 2.492 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.3789, allocations: 0.8578 MB / 490.4 MB, free: 2.129 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.379, allocations: 6.219 kB / 490.4 MB, free: 2.125 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.818e-05/0.379, allocations: 16.86 kB / 490.4 MB, free: 2.113 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001666/0.3792, allocations: 64 kB / 490.5 MB, free: 2.102 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.3805, allocations: 0.7984 MB / 491.3 MB, free: 1.867 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003815/0.3844, allocations: 2.727 MB / 494 MB, free: 16 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.3854, allocations: 0.5767 MB / 494.6 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005726/0.386, allocations: 453.3 kB / 495 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.507e-05/0.3861, allocations: 9.234 kB / 495 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.3861, allocations: 41.19 kB / 495.1 MB, free: 15.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 4.809e-06/0.3861, allocations: 0 / 495.1 MB, free: 15.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.003644/0.3898, allocations: 1.884 MB / 497 MB, free: 14.72 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.3899, allocations: 140.2 kB / 497.1 MB, free: 14.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.3904, allocations: 298.4 kB / 497.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.3905, allocations: 31.89 kB / 497.4 MB, free: 14.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.3907, allocations: 262.5 kB / 497.7 MB, free: 14.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.3909, allocations: 184.7 kB / 497.8 MB, free: 14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.3911, allocations: 99.61 kB / 497.9 MB, free: 13.94 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3912, allocations: 353.6 kB / 498.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004881/0.3917, allocations: 341.8 kB / 498.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006776/0.3924, allocations: 488.5 kB / 499.1 MB, free: 13.13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.3939, allocations: 0.9843 MB / 0.4884 GB, free: 12.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.3939, allocations: 1.375 kB / 0.4884 GB, free: 12.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001691/0.3956, allocations: 0.9857 MB / 0.4893 GB, free: 12.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.966e-05/0.3957, allocations: 76.22 kB / 0.4894 GB, free: 12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.3957, allocations: 4.938 kB / 0.4894 GB, free: 12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002108/0.396, allocations: 35.53 kB / 0.4894 GB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.3964, allocations: 87.28 kB / 0.4895 GB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.3976, allocations: 1.446 MB / 0.4909 GB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.398, allocations: 36.95 kB / 0.491 GB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.255e-05/0.3981, allocations: 28.91 kB / 0.491 GB, free: 10.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[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: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004695/0.3986, allocations: 316.8 kB / 0.4913 GB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.3987, allocations: 41.06 kB / 0.4913 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.4004, allocations: 1.072 MB / 0.4924 GB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/0.4004, allocations: 9.625 kB / 0.4924 GB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4004, allocations: 1.375 kB / 0.4924 GB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.4004, allocations: 7.922 kB / 0.4924 GB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.4031, allocations: 1.804 MB / 0.4942 GB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.4031, allocations: 1.219 kB / 0.4942 GB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.4034, allocations: 57.47 kB / 0.4942 GB, free: 8.586 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001099/0.4035, allocations: 34.52 kB / 0.4943 GB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/0.4036, allocations: 14.86 kB / 0.4943 GB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.4047, allocations: 1.431 MB / 0.4957 GB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4047, allocations: 0.8125 kB / 0.4957 GB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/0.4071, allocations: 2.326 MB / 0.4979 GB, free: 5.172 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/0.4074, allocations: 168.6 kB / 0.4981 GB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-05/0.4075, allocations: 19.98 kB / 0.4981 GB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.4078, allocations: 35.97 kB / 0.4982 GB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.4079, allocations: 40.03 kB / 0.4982 GB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-05/0.408, allocations: 19.98 kB / 0.4982 GB, free: 4.875 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002086/0.4082, allocations: 207 kB / 0.4984 GB, free: 4.672 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4082, allocations: 0 / 0.4984 GB, free: 4.672 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008483/0.409, allocations: 144 kB / 0.4985 GB, free: 4.531 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002944/0.4093, allocations: 155 kB / 0.4987 GB, free: 4.371 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001774/0.4111, allocations: 1.363 MB / 0.5 GB, free: 2.984 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4111, allocations: 1.125 kB / 0.5 GB, free: 2.984 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.4122, allocations: 0.9409 MB / 0.5009 GB, free: 2.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000603/0.4128, allocations: 65.52 kB / 0.501 GB, free: 1.949 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.4154, allocations: 1.944 MB / 0.5029 GB, free: 15.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/0.4159, allocations: 0.921 MB / 0.5038 GB, free: 15 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003255/0.4163, allocations: 103.2 kB / 0.5039 GB, free: 14.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.601e-05/0.4164, allocations: 27.44 kB / 0.5039 GB, free: 14.88 MB / 346.7 MB Notification: Performance of SimCode: time 1.523e-06/0.4164, allocations: 3.938 kB / 0.5039 GB, free: 14.88 MB / 346.7 MB Notification: Performance of Templates: time 0.0128/0.4292, allocations: 5.965 MB / 0.5098 GB, free: 8.926 MB / 346.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Sensor.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches