Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_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.001966/0.001966, allocations: 111.9 kB / 17.29 MB, free: 6.219 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.002328/0.002328, allocations: 197.3 kB / 18.21 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.261/2.261, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1968/0.1968, allocations: 38.02 MB / 330.1 MB, free: 8.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 60.94 kB / 398.9 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1756, allocations: 58.06 MB / 457 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.007134/0.1828, allocations: 4.705 MB / 461.7 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002227/0.185, allocations: 1.075 MB / 462.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004975/0.1856, allocations: 27.81 kB / 462.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.1859, allocations: 39.69 kB / 462.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007335/0.1867, allocations: 167.2 kB / 463 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.187, allocations: 75.94 kB / 463.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005726/0.1876, allocations: 406.5 kB / 463.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003067/0.1879, allocations: 122.2 kB / 463.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.1883, allocations: 183.2 kB / 463.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004403/0.1887, allocations: 207.2 kB / 464 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.375e-05/0.1888, allocations: 24 kB / 464 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.89e-05/0.1889, allocations: 24 kB / 464 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.189, allocations: 111.7 kB / 464.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.1893, allocations: 147.2 kB / 464.3 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.1896, allocations: 231.5 kB / 464.5 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1896, allocations: 0 / 464.5 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1896, allocations: 0 / 464.5 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.1896, allocations: 0 / 464.5 MB, free: 0.8828 MB / 334.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.001352/0.191, allocations: 0.6321 MB / 465.1 MB, free: 208 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.191, allocations: 11.89 kB / 465.2 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.746e-05/0.1911, allocations: 32.56 kB / 465.2 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005238/0.1917, allocations: 319.1 kB / 465.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.1917, allocations: 16.94 kB / 465.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.824e-05/0.1918, allocations: 28.12 kB / 465.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.1923, allocations: 316.5 kB / 465.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1923, allocations: 3.938 kB / 465.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.1924, allocations: 8 kB / 465.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.1924, allocations: 8 kB / 465.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.1928, allocations: 213.5 kB / 466.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.1945, allocations: 1.352 MB / 467.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.1949, allocations: 145.1 kB / 467.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.195, allocations: 57.75 kB / 467.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1951, allocations: 11.98 kB / 467.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.1951, allocations: 38.5 kB / 467.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.733e-06/0.1951, allocations: 0 / 467.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008653/0.196, allocations: 368.3 kB / 468 MB, free: 13.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.196, allocations: 85.05 kB / 468.1 MB, free: 13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.1963, allocations: 258.9 kB / 468.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.1963, allocations: 33.83 kB / 468.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.1965, allocations: 199.5 kB / 468.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.1965, allocations: 39.47 kB / 468.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.1967, allocations: 53.59 kB / 468.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1968, allocations: 338.7 kB / 469 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.903e-05/0.1969, allocations: 51.97 kB / 469.1 MB, free: 12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.1971, allocations: 157.6 kB / 469.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/0.1974, allocations: 236.8 kB / 469.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1974, allocations: 0 / 469.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003859/0.1978, allocations: 249.3 kB / 469.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.1978, allocations: 8 kB / 469.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.1979, allocations: 4 kB / 469.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.1979, allocations: 7.938 kB / 469.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.1981, allocations: 51.91 kB / 469.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.1981, allocations: 4 kB / 469.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.1982, allocations: 12 kB / 469.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.1983, allocations: 8 kB / 469.8 MB, free: 11.18 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001684/0.1984, allocations: 169.8 kB / 470 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.1985, allocations: 23.72 kB / 470 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/0.1989, allocations: 199.2 kB / 470.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1989, allocations: 0 / 470.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1989, allocations: 4 kB / 470.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1989, allocations: 0 / 470.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006927/0.1996, allocations: 0.5499 MB / 470.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1996, allocations: 4.031 kB / 470.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.1998, allocations: 27.98 kB / 470.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.1998, allocations: 3.984 kB / 470.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.1998, allocations: 8 kB / 470.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1998, allocations: 3.938 kB / 470.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.1998, allocations: 3.938 kB / 470.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.2002, allocations: 295.2 kB / 471.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-05/0.2003, allocations: 96.73 kB / 471.2 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.2003, allocations: 8 kB / 471.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.2005, allocations: 7.938 kB / 471.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.2005, allocations: 7.984 kB / 471.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.2005, allocations: 8 kB / 471.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.2007, allocations: 182 kB / 471.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2007, allocations: 0 / 471.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003421/0.2011, allocations: 48 kB / 471.4 MB, free: 9.441 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 (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.0001319/0.2012, allocations: 111.2 kB / 471.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003429/0.2016, allocations: 163.7 kB / 471.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2016, allocations: 0 / 471.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.2017, allocations: 80.34 kB / 471.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.2022, allocations: 56.92 kB / 471.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.2033, allocations: 0.6731 MB / 472.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005508/0.2039, allocations: 0.7831 MB / 473.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.682e-05/0.204, allocations: 23.44 kB / 473.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.204, allocations: 0 / 473.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of Templates: time 0.006519/0.2105, allocations: 3.178 MB / 476.5 MB, free: 4.32 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1)