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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007159/0.000716, allocations: 91.8 kB / 16.65 MB, free: 6.59 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.0007504/0.0007504, allocations: 182.3 kB / 17.56 MB, free: 6.203 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.207/1.207, allocations: 223.3 MB / 241.6 MB, free: 104 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1646/0.1646, allocations: 38.09 MB / 330.8 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002598/0.0002598, allocations: 8 kB / 400.7 MB, free: 34.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08329/0.08356, allocations: 59.17 MB / 459.9 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.004852/0.08844, allocations: 4.764 MB / 464.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.09085, allocations: 1.597 MB / 466.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002952/0.09117, allocations: 23.81 kB / 466.3 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.09141, allocations: 63.55 kB / 466.3 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006083/0.09203, allocations: 270.9 kB / 466.6 MB, free: 340 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005625/0.09261, allocations: 223.6 kB / 466.8 MB, free: 116 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009189/0.09354, allocations: 1.006 MB / 467.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006554/0.0942, allocations: 413.1 kB / 468.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000392/0.09461, allocations: 235 kB / 468.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005571/0.09517, allocations: 410.7 kB / 468.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.833e-05/0.09525, allocations: 24 kB / 468.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003973/0.09567, allocations: 227.5 kB / 469.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002119/0.09589, allocations: 231.4 kB / 469.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000287/0.09618, allocations: 288.2 kB / 469.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006969/0.09689, allocations: 0.7085 MB / 470.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.0969, allocations: 4 kB / 470.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.09691, allocations: 0 / 470.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.09693, allocations: 0 / 470.3 MB, free: 12.57 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001434/0.09837, allocations: 0.787 MB / 471.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.09843, allocations: 8.031 kB / 471.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005718/0.09901, allocations: 92.23 kB / 471.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005775/0.0996, allocations: 423.9 kB / 471.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.09964, allocations: 25.38 kB / 471.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.853e-05/0.09973, allocations: 44.12 kB / 471.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.1009, allocations: 0.8629 MB / 472.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.1009, allocations: 7.922 kB / 472.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/0.101, allocations: 16 kB / 472.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001344/0.1011, allocations: 60.95 kB / 472.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.1022, allocations: 0.7963 MB / 473.4 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003338/0.1056, allocations: 2.733 MB / 476.2 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007718/0.1064, allocations: 0.572 MB / 476.7 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004804/0.1069, allocations: 458.7 kB / 477.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.1069, allocations: 4 kB / 477.2 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1069, allocations: 34.56 kB / 477.2 MB, free: 5.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.185e-06/0.1069, allocations: 3.938 kB / 477.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.002555/0.1095, allocations: 1.891 MB / 479.1 MB, free: 3.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.1096, allocations: 146.9 kB / 479.3 MB, free: 3.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.1099, allocations: 292.4 kB / 479.6 MB, free: 2.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.1099, allocations: 33.7 kB / 479.6 MB, free: 2.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.1101, allocations: 256.3 kB / 479.8 MB, free: 2.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.1102, allocations: 197.2 kB / 480 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.946e-05/0.1103, allocations: 49.7 kB / 480.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1104, allocations: 358.7 kB / 480.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000414/0.1108, allocations: 340.9 kB / 480.8 MB, free: 1.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004974/0.1113, allocations: 485.7 kB / 481.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.1124, allocations: 0.9799 MB / 482.2 MB, free: 136 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.1124, allocations: 4 kB / 482.2 MB, free: 132 kB / 350.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001282/0.1137, allocations: 0.9807 MB / 483.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.89e-05/0.1138, allocations: 77.59 kB / 483.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1138, allocations: 4 kB / 483.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001538/0.114, allocations: 36.83 kB / 483.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.1143, allocations: 83.89 kB / 483.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009981/0.1153, allocations: 1.449 MB / 484.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.1156, allocations: 31.95 kB / 484.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/0.1156, allocations: 24 kB / 484.9 MB, free: 13.29 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: 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.0002994/0.1159, allocations: 303.4 kB / 485.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.792e-05/0.1161, allocations: 43.53 kB / 485.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.1174, allocations: 1.076 MB / 486.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.582e-05/0.1175, allocations: 8 kB / 486.3 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.1175, allocations: 7.984 kB / 486.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-06/0.1175, allocations: 7.938 kB / 486.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.1197, allocations: 1.796 MB / 488.1 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1197, allocations: 0 / 488.1 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.1199, allocations: 59.89 kB / 488.2 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.963e-05/0.12, allocations: 36.83 kB / 488.2 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.1201, allocations: 8 kB / 488.2 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009981/0.1211, allocations: 1.437 MB / 489.7 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1211, allocations: 4.031 kB / 489.7 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.1224, allocations: 1.183 MB / 490.9 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.1226, allocations: 172.5 kB / 491 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/0.1227, allocations: 12 kB / 491 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.123, allocations: 31.97 kB / 491.1 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.1231, allocations: 51.88 kB / 491.1 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.1231, allocations: 16 kB / 491.1 MB, free: 6.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.1233, allocations: 203.1 kB / 491.3 MB, free: 6.555 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1233, allocations: 0 / 491.3 MB, free: 6.555 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004814/0.1238, allocations: 144 kB / 491.5 MB, free: 6.414 MB / 366.1 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.0002334/0.124, allocations: 151.1 kB / 491.6 MB, free: 6.254 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.1255, allocations: 1.37 MB / 493 MB, free: 4.859 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1255, allocations: 5.125 kB / 493 MB, free: 4.855 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000885/0.1264, allocations: 0.9242 MB / 493.9 MB, free: 3.906 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005065/0.1269, allocations: 68.98 kB / 494 MB, free: 3.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.1288, allocations: 1.636 MB / 495.6 MB, free: 2.172 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.1293, allocations: 0.9054 MB / 496.5 MB, free: 1.238 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002554/0.1295, allocations: 99.19 kB / 496.6 MB, free: 1.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.076e-05/0.1296, allocations: 27.44 kB / 496.7 MB, free: 1.109 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1296, allocations: 0 / 496.7 MB, free: 1.109 MB / 366.1 MB Notification: Performance of Templates: time 0.009762/0.1394, allocations: 5.648 MB / 0.4905 GB, free: 11.49 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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