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.001646/0.001646, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.00184/0.00184, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.399/1.399, allocations: 222.9 MB / 241.2 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.1791/0.1791, allocations: 38.02 MB / 329.4 MB, free: 8.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 61.72 kB / 398.3 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1277, allocations: 58.07 MB / 456.3 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.00724/0.135, allocations: 4.686 MB / 461 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.1371, allocations: 1.091 MB / 462.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000283/0.1374, allocations: 27.81 kB / 462.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.1376, allocations: 31.77 kB / 462.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005279/0.1382, allocations: 163.2 kB / 462.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.1384, allocations: 75.91 kB / 462.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004229/0.1388, allocations: 418.5 kB / 462.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.1391, allocations: 118.2 kB / 462.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.1393, allocations: 183.2 kB / 463.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003237/0.1396, allocations: 211.3 kB / 463.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.066e-05/0.1397, allocations: 20 kB / 463.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.218e-05/0.1398, allocations: 28 kB / 463.4 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.1399, allocations: 107.7 kB / 463.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.1401, allocations: 151.2 kB / 463.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.1404, allocations: 306.9 kB / 463.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1404, allocations: 4 kB / 463.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1404, allocations: 0 / 463.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1404, allocations: 3.938 kB / 463.9 MB, free: 0.8008 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.001054/0.1415, allocations: 0.6244 MB / 464.6 MB, free: 132 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1415, allocations: 15.89 kB / 464.6 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.1416, allocations: 32.56 kB / 464.6 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.142, allocations: 323 kB / 464.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.142, allocations: 12.94 kB / 464.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.142, allocations: 24.12 kB / 464.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.1425, allocations: 324.5 kB / 465.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1425, allocations: 0 / 465.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.1426, allocations: 12 kB / 465.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.1426, allocations: 4 kB / 465.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.1429, allocations: 213.5 kB / 465.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.1445, allocations: 1.356 MB / 466.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.1448, allocations: 137.3 kB / 467 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.145, allocations: 65.62 kB / 467 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.145, allocations: 0 / 467 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.145, allocations: 42.56 kB / 467.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.145, allocations: 0 / 467.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007983/0.1458, allocations: 367.2 kB / 467.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.1459, allocations: 77.11 kB / 467.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.1462, allocations: 258.9 kB / 467.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.1462, allocations: 33.7 kB / 467.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1464, allocations: 211.7 kB / 468 MB, free: 12.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.1464, allocations: 35.45 kB / 468 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-05/0.1465, allocations: 53.55 kB / 468.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1466, allocations: 338.8 kB / 468.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.736e-05/0.1467, allocations: 51.97 kB / 468.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.1469, allocations: 161.6 kB / 468.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.1472, allocations: 224.7 kB / 468.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1472, allocations: 4 kB / 468.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003632/0.1476, allocations: 245.4 kB / 469.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.1476, allocations: 8.062 kB / 469.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1476, allocations: 7.938 kB / 469.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1477, allocations: 11.94 kB / 469.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.1478, allocations: 47.91 kB / 469.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.1479, allocations: 7.938 kB / 469.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.148, allocations: 8 kB / 469.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.148, allocations: 11.98 kB / 469.2 MB, free: 11.11 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.0001386/0.1482, allocations: 165.6 kB / 469.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.1482, allocations: 19.72 kB / 469.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003264/0.1485, allocations: 202.4 kB / 469.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1486, allocations: 4 kB / 469.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1486, allocations: 0 / 469.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1486, allocations: 0 / 469.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000628/0.1492, allocations: 0.5577 MB / 470.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1492, allocations: 0 / 470.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.1494, allocations: 31.92 kB / 470.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.1494, allocations: 8.031 kB / 470.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.1494, allocations: 4 kB / 470.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1494, allocations: 7.938 kB / 470.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1494, allocations: 0 / 470.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.1497, allocations: 288.8 kB / 470.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/0.1498, allocations: 100.7 kB / 470.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.1498, allocations: 4 kB / 470.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.15, allocations: 11.94 kB / 470.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.15, allocations: 11.92 kB / 470.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.15, allocations: 7.984 kB / 470.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001746/0.1502, allocations: 182 kB / 470.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1502, allocations: 0 / 470.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003214/0.1505, allocations: 52 kB / 470.8 MB, free: 9.363 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.000121/0.1507, allocations: 99.25 kB / 470.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003172/0.151, allocations: 163.7 kB / 471.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.151, allocations: 0 / 471.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.1511, allocations: 71.89 kB / 471.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.1516, allocations: 69.86 kB / 471.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008528/0.1525, allocations: 0.6363 MB / 471.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.1528, allocations: 0.787 MB / 472.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.153, allocations: 46.25 kB / 472.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.424e-05/0.1531, allocations: 27.42 kB / 472.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1531, allocations: 0 / 472.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of Templates: time 0.00531/0.1584, allocations: 2.2 MB / 474.9 MB, free: 5.23 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)