Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008752/0.0008753, allocations: 88.08 kB / 16.31 MB, free: 6.449 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.00097/0.00097, allocations: 180.7 kB / 17.21 MB, free: 6.32 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.233/1.233, allocations: 223.3 MB / 241.2 MB, free: 5.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2549/0.2549, allocations: 38.07 MB / 330.4 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002591/0.0002591, allocations: 8 kB / 400.1 MB, free: 9.266 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2379, allocations: 59.16 MB / 459.2 MB, free: 30.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.003704/0.2416, allocations: 4.113 MB / 463.3 MB, free: 27.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.2429, allocations: 1.032 MB / 464.4 MB, free: 26.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.2431, allocations: 29.03 kB / 464.4 MB, free: 26.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.2432, allocations: 55.83 kB / 464.5 MB, free: 26.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004184/0.2437, allocations: 209.1 kB / 464.7 MB, free: 26.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.2439, allocations: 123.4 kB / 464.8 MB, free: 26.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004636/0.2444, allocations: 466.2 kB / 465.2 MB, free: 26.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.2446, allocations: 81.88 kB / 465.3 MB, free: 26.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.2448, allocations: 152 kB / 465.5 MB, free: 26.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000358/0.2452, allocations: 200.6 kB / 465.7 MB, free: 26.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.2452, allocations: 11.25 kB / 465.7 MB, free: 26.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.414e-05/0.2453, allocations: 11.41 kB / 465.7 MB, free: 26.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.2454, allocations: 94.53 kB / 465.8 MB, free: 26.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.058e-05/0.2455, allocations: 81.45 kB / 465.9 MB, free: 26.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.2458, allocations: 214.1 kB / 466.1 MB, free: 26.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2458, allocations: 1 kB / 466.1 MB, free: 26.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2458, allocations: 0 / 466.1 MB, free: 26.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.2458, allocations: 0 / 466.1 MB, free: 26.01 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008777/0.2467, allocations: 0.5845 MB / 466.7 MB, free: 25.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.2467, allocations: 9.656 kB / 466.7 MB, free: 25.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.371e-05/0.2468, allocations: 35.09 kB / 466.7 MB, free: 25.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.2472, allocations: 308.4 kB / 467 MB, free: 25.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.2473, allocations: 25.02 kB / 467 MB, free: 25.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.2473, allocations: 22.97 kB / 467 MB, free: 25.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004951/0.2478, allocations: 313 kB / 467.3 MB, free: 25.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.2478, allocations: 3.938 kB / 467.4 MB, free: 25.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.2479, allocations: 11.81 kB / 467.4 MB, free: 25.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.2479, allocations: 9.844 kB / 467.4 MB, free: 25.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000348/0.2482, allocations: 212 kB / 467.6 MB, free: 24.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.2495, allocations: 1.35 MB / 468.9 MB, free: 23.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.2498, allocations: 151.2 kB / 469.1 MB, free: 23.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.2499, allocations: 58.78 kB / 469.1 MB, free: 23.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.25, allocations: 1.125 kB / 469.1 MB, free: 23.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.25, allocations: 42.23 kB / 469.2 MB, free: 23.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.994e-06/0.25, allocations: 0 / 469.2 MB, free: 23.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008255/0.2508, allocations: 363.7 kB / 469.5 MB, free: 23.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.2509, allocations: 83.98 kB / 469.6 MB, free: 23.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.2512, allocations: 260.4 kB / 469.9 MB, free: 23.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.2512, allocations: 26.78 kB / 469.9 MB, free: 23.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.2513, allocations: 198 kB / 470.1 MB, free: 23.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.2513, allocations: 54.12 kB / 470.1 MB, free: 23.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.2514, allocations: 5.469 kB / 470.1 MB, free: 23.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.325e-05/0.2515, allocations: 333.1 kB / 470.5 MB, free: 22.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.705e-05/0.2516, allocations: 52.19 kB / 470.5 MB, free: 22.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.2517, allocations: 149.9 kB / 470.7 MB, free: 22.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.2519, allocations: 78.36 kB / 470.7 MB, free: 22.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2519, allocations: 9.047 kB / 470.8 MB, free: 22.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003833/0.2523, allocations: 252.8 kB / 471 MB, free: 22.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.2523, allocations: 8.828 kB / 471 MB, free: 22.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.2523, allocations: 3.719 kB / 471 MB, free: 22.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.2523, allocations: 9.312 kB / 471 MB, free: 22.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.2525, allocations: 44.8 kB / 471.1 MB, free: 22.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.2525, allocations: 13.69 kB / 471.1 MB, free: 22.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.2526, allocations: 8.984 kB / 471.1 MB, free: 22.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.2527, allocations: 14.25 kB / 471.1 MB, free: 22.37 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.2528, allocations: 154.5 kB / 471.3 MB, free: 22.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.2528, allocations: 25.86 kB / 471.3 MB, free: 22.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.2531, allocations: 196.1 kB / 471.5 MB, free: 22.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2532, allocations: 2.062 kB / 471.5 MB, free: 22.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2532, allocations: 5.969 kB / 471.5 MB, free: 22.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2532, allocations: 0.75 kB / 471.5 MB, free: 22.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000582/0.2538, allocations: 0.5555 MB / 472 MB, free: 21.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.2538, allocations: 0.9375 kB / 472 MB, free: 21.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.2539, allocations: 38.69 kB / 472.1 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2539, allocations: 2.188 kB / 472.1 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.2539, allocations: 1.094 kB / 472.1 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.254, allocations: 3.531 kB / 472.1 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.254, allocations: 0 / 472.1 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.2542, allocations: 299.5 kB / 472.4 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.2543, allocations: 98.02 kB / 472.5 MB, free: 21.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.2543, allocations: 1.906 kB / 472.5 MB, free: 21.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.2545, allocations: 6.281 kB / 472.5 MB, free: 21.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.2545, allocations: 9.141 kB / 472.5 MB, free: 21.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.2545, allocations: 8.5 kB / 472.5 MB, free: 21.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.2547, allocations: 181.3 kB / 472.7 MB, free: 21.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2547, allocations: 1.094 kB / 472.7 MB, free: 21.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003229/0.255, allocations: 48.09 kB / 472.7 MB, free: 21.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.62e-05/0.2551, allocations: 99.09 kB / 472.8 MB, free: 21.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.2553, allocations: 164.2 kB / 473 MB, free: 21.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2553, allocations: 0 / 473 MB, free: 21.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.2555, allocations: 71.39 kB / 473 MB, free: 21.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.2559, allocations: 61.25 kB / 473.1 MB, free: 21.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007297/0.2566, allocations: 0.6425 MB / 473.7 MB, free: 20.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.2569, allocations: 0.7797 MB / 474.5 MB, free: 19.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.257, allocations: 47.11 kB / 474.6 MB, free: 19.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.2571, allocations: 31.91 kB / 474.6 MB, free: 19.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2571, allocations: 4 kB / 474.6 MB, free: 19.93 MB / 350.1 MB Notification: Performance of Templates: time 0.004697/0.2618, allocations: 2.036 MB / 476.6 MB, free: 19.56 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches