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.00135/0.00135, allocations: 104 kB / 17.59 MB, free: 5.559 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.001386/0.001386, allocations: 191.5 kB / 18.51 MB, free: 4.641 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.391/1.391, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.172/0.172, allocations: 38.03 MB / 330.4 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.81 kB / 399.5 MB, free: 34.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09461/0.09588, allocations: 58.06 MB / 457.5 MB, free: 8.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.005735/0.1017, allocations: 4.031 MB / 461.6 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1032, allocations: 0.9114 MB / 462.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.1034, allocations: 11.94 kB / 462.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.1037, allocations: 43.58 kB / 462.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005948/0.1043, allocations: 179 kB / 462.7 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.1046, allocations: 91.83 kB / 462.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004919/0.1051, allocations: 406.5 kB / 463.2 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002452/0.1053, allocations: 118.2 kB / 463.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003204/0.1056, allocations: 183.2 kB / 463.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003979/0.106, allocations: 199.3 kB / 463.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.55e-05/0.1061, allocations: 20 kB / 463.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.281e-05/0.1062, allocations: 28 kB / 463.7 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.1063, allocations: 103.7 kB / 463.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.1065, allocations: 147.2 kB / 464 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.1069, allocations: 314.8 kB / 464.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1069, allocations: 0 / 464.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1069, allocations: 0 / 464.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.1069, allocations: 0 / 464.3 MB, free: 1.258 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.001122/0.108, allocations: 0.6206 MB / 464.9 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1081, allocations: 11.89 kB / 464.9 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.183e-05/0.1082, allocations: 36.47 kB / 464.9 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.1086, allocations: 331 kB / 465.3 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.1086, allocations: 20.94 kB / 465.3 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.1087, allocations: 20.12 kB / 465.3 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.1092, allocations: 320.5 kB / 465.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1092, allocations: 4 kB / 465.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.1092, allocations: 8 kB / 465.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.1092, allocations: 8 kB / 465.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/0.1096, allocations: 225.5 kB / 465.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.1111, allocations: 1.34 MB / 467.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.1115, allocations: 141.2 kB / 467.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.684e-05/0.1116, allocations: 69.91 kB / 467.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.1116, allocations: 7.922 kB / 467.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1117, allocations: 34.55 kB / 467.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.1117, allocations: 4 kB / 467.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007395/0.1124, allocations: 359.5 kB / 467.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.1125, allocations: 81.11 kB / 467.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.1127, allocations: 263.1 kB / 468.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1127, allocations: 25.7 kB / 468.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.1129, allocations: 203.6 kB / 468.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.1129, allocations: 43.36 kB / 468.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.113, allocations: 45.7 kB / 468.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1131, allocations: 342.8 kB / 468.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.916e-05/0.1132, allocations: 55.89 kB / 468.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.1134, allocations: 153.7 kB / 469 MB, free: 12.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.1136, allocations: 224.6 kB / 469.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1137, allocations: 0 / 469.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003475/0.114, allocations: 253.9 kB / 469.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.114, allocations: 4 kB / 469.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.114, allocations: 4 kB / 469.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1141, allocations: 4 kB / 469.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.1143, allocations: 51.91 kB / 469.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.1143, allocations: 15.92 kB / 469.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.1144, allocations: 7.906 kB / 469.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.1144, allocations: 12 kB / 469.6 MB, free: 11.57 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.0001405/0.1146, allocations: 165.9 kB / 469.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.1146, allocations: 23.72 kB / 469.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.1149, allocations: 194.7 kB / 469.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.115, allocations: 4 kB / 469.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.115, allocations: 0 / 469.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.115, allocations: 3.984 kB / 469.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006429/0.1156, allocations: 0.5577 MB / 470.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1156, allocations: 4 kB / 470.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.1158, allocations: 35.86 kB / 470.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1158, allocations: 4 kB / 470.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.1158, allocations: 0 / 470.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.1158, allocations: 3.938 kB / 470.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.1158, allocations: 7.984 kB / 470.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.1162, allocations: 292.3 kB / 470.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.1162, allocations: 100.7 kB / 470.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.1163, allocations: 4 kB / 470.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.1164, allocations: 7.938 kB / 470.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.1164, allocations: 15.92 kB / 471 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.1165, allocations: 8 kB / 471 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.1166, allocations: 178 kB / 471.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1166, allocations: 0 / 471.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003424/0.117, allocations: 56 kB / 471.2 MB, free: 9.809 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 9.967e-05/0.1171, allocations: 99.19 kB / 471.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003049/0.1174, allocations: 171.8 kB / 471.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.1174, allocations: 0 / 471.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.1175, allocations: 80.72 kB / 471.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.118, allocations: 62.33 kB / 471.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008703/0.1189, allocations: 0.5638 MB / 472.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.1193, allocations: 0.7753 MB / 472.9 MB, free: 8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.324e-05/0.1194, allocations: 31.42 kB / 473 MB, free: 7.969 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1194, allocations: 0 / 473 MB, free: 7.969 MB / 350.1 MB Notification: Performance of Templates: time 0.005397/0.1248, allocations: 3.167 MB / 476.1 MB, free: 4.809 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)