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.001552/0.001553, allocations: 107 kB / 17.74 MB, free: 5.352 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.00177/0.00177, allocations: 186.4 kB / 18.68 MB, free: 4.426 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.387/1.387, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1779/0.1779, allocations: 38.04 MB / 330.6 MB, free: 8.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 56.09 kB / 458.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3254, allocations: 58.07 MB / 0.5048 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.005248/0.3306, allocations: 4.035 MB / 0.5087 GB, free: 4.906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.3321, allocations: 0.9114 MB / 0.5096 GB, free: 4.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002941/0.3325, allocations: 15.28 kB / 0.5096 GB, free: 4.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.3327, allocations: 47.05 kB / 0.5097 GB, free: 4.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006133/0.3334, allocations: 180.5 kB / 0.5098 GB, free: 4.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.3337, allocations: 96.16 kB / 0.5099 GB, free: 4.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005237/0.3342, allocations: 399.9 kB / 0.5103 GB, free: 3.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002452/0.3344, allocations: 120.6 kB / 0.5104 GB, free: 3.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003612/0.3348, allocations: 180.4 kB / 0.5106 GB, free: 3.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000429/0.3353, allocations: 217.3 kB / 0.5108 GB, free: 3.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.969e-05/0.3353, allocations: 20.97 kB / 0.5108 GB, free: 3.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.341e-05/0.3354, allocations: 21.06 kB / 0.5108 GB, free: 3.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.3356, allocations: 105.4 kB / 0.5109 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.3358, allocations: 148.7 kB / 0.5111 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.3362, allocations: 316.8 kB / 0.5114 GB, free: 3.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3362, allocations: 3.938 kB / 0.5114 GB, free: 3.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3362, allocations: 1.062 kB / 0.5114 GB, free: 3.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.3362, allocations: 0 / 0.5114 GB, free: 3.434 MB / 382.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.001074/0.3373, allocations: 0.6272 MB / 0.512 GB, free: 2.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3374, allocations: 12.7 kB / 0.512 GB, free: 2.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.591e-05/0.3375, allocations: 35.67 kB / 0.512 GB, free: 2.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/0.3379, allocations: 346.9 kB / 0.5124 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.338, allocations: 17.81 kB / 0.5124 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.338, allocations: 27.23 kB / 0.5124 GB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.3385, allocations: 318.4 kB / 0.5127 GB, free: 2.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3385, allocations: 1.094 kB / 0.5127 GB, free: 2.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.3385, allocations: 6.766 kB / 0.5127 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.3385, allocations: 6.875 kB / 0.5127 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000369/0.3389, allocations: 217 kB / 0.5129 GB, free: 2.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.3403, allocations: 1.346 MB / 0.5143 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.3407, allocations: 139.9 kB / 0.5144 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.209e-05/0.3408, allocations: 68.66 kB / 0.5145 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.3408, allocations: 1.469 kB / 0.5145 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.3408, allocations: 39.59 kB / 0.5145 GB, free: 1.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.3408, allocations: 1.094 kB / 0.5145 GB, free: 1.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007391/0.3416, allocations: 368.7 kB / 0.5148 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.3416, allocations: 91.39 kB / 0.5149 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.3418, allocations: 254.8 kB / 0.5152 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.3418, allocations: 26.98 kB / 0.5152 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.85e-05/0.3419, allocations: 207.3 kB / 0.5154 GB, free: 464 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.342, allocations: 53.72 kB / 0.5155 GB, free: 420 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.466e-05/0.342, allocations: 46.94 kB / 0.5155 GB, free: 388 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5e-05/0.3421, allocations: 340.6 kB / 0.5158 GB, free: 52 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.437e-05/0.3422, allocations: 57.42 kB / 0.5159 GB, free: 32 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.3424, allocations: 151.2 kB / 0.516 GB, free: 15.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.3427, allocations: 232.5 kB / 0.5162 GB, free: 15.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3427, allocations: 0 / 0.5162 GB, free: 15.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003863/0.3431, allocations: 251.7 kB / 0.5165 GB, free: 15.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3431, allocations: 7.234 kB / 0.5165 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3431, allocations: 7.641 kB / 0.5165 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3431, allocations: 5.219 kB / 0.5165 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.3433, allocations: 48.23 kB / 0.5165 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.3433, allocations: 9.5 kB / 0.5166 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.3435, allocations: 9.359 kB / 0.5166 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.3435, allocations: 15.5 kB / 0.5166 GB, free: 15.56 MB / 398.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.0001469/0.3437, allocations: 163.9 kB / 0.5167 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.3437, allocations: 27.45 kB / 0.5168 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003474/0.3441, allocations: 195.3 kB / 0.517 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3441, allocations: 0.6094 kB / 0.517 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3441, allocations: 1.344 kB / 0.517 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.3442, allocations: 96.19 kB / 0.517 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.3442, allocations: 10.91 kB / 0.5171 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.3444, allocations: 5.641 kB / 0.5171 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.3444, allocations: 9.375 kB / 0.5171 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003838/0.3448, allocations: 339.5 kB / 0.5174 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000367/0.3452, allocations: 441.4 kB / 0.5178 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001148/0.3453, allocations: 68.19 kB / 0.5179 GB, free: 14.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.3455, allocations: 182.7 kB / 0.5181 GB, free: 14.48 MB / 398.1 MB Notification: Performance of Backend: time 3e-07/0.3455, allocations: 0.5312 kB / 0.5181 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005971/0.3461, allocations: 179.9 kB / 0.5182 GB, free: 14.38 MB / 398.1 MB Notification: Performance of SimCode: time 0.001216/0.3473, allocations: 0.9883 MB / 0.5192 GB, free: 13.59 MB / 398.1 MB Notification: Performance of Templates: time 0.006456/0.3538, allocations: 2.458 MB / 0.5216 GB, free: 13.38 MB / 398.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)