Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") translateModel(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009796/0.0009796, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007753/0.007753, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.36/1.36, allocations: 223.2 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8746/0.8746, allocations: 132.3 MB / 423.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003461, allocations: 12.66 kB / 0.504 GB, free: 3.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4479/0.4483, allocations: 81.57 MB / 0.5837 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.007659/0.456, allocations: 6.589 MB / 0.5901 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1883/0.6444, allocations: 151.6 MB / 0.7381 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002225/0.6467, allocations: 27.88 kB / 0.7381 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000839/0.6475, allocations: 210.2 kB / 0.7383 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002849/0.6504, allocations: 0.5999 MB / 0.7389 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002985/0.6534, allocations: 1.058 MB / 0.74 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004067/0.6575, allocations: 3.895 MB / 0.7438 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002666/0.6601, allocations: 2.344 MB / 0.7461 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0025/0.6626, allocations: 1.117 MB / 0.7471 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.6641, allocations: 1.239 MB / 0.7484 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000202/0.6643, allocations: 80 kB / 0.7484 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.6658, allocations: 0.6672 MB / 0.7491 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004386/0.6662, allocations: 0.5362 MB / 0.7496 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.6675, allocations: 1.329 MB / 0.7509 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003832/0.6714, allocations: 4.231 MB / 0.755 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.6714, allocations: 0 / 0.755 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6714, allocations: 0 / 0.755 GB, free: 304 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.194e-05/0.6715, allocations: 4 kB / 0.755 GB, free: 300 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.005776/0.6772, allocations: 3.179 MB / 0.7581 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.6773, allocations: 15.97 kB / 0.7582 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009296/0.6866, allocations: 1.365 MB / 0.7595 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003437/0.6901, allocations: 1.9 MB / 0.7613 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002404/0.6903, allocations: 230.1 kB / 0.7616 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004869/0.6908, allocations: 299.9 kB / 0.7619 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00852/0.6993, allocations: 4.243 MB / 0.766 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.915e-05/0.6994, allocations: 3.938 kB / 0.766 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003117/0.6997, allocations: 124 kB / 0.7661 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.143e-05/0.6998, allocations: 76 kB / 0.7662 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01036/0.7102, allocations: 4.647 MB / 0.7707 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02098/0.7312, allocations: 12.91 MB / 0.7833 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00986/0.7411, allocations: 3.795 MB / 0.787 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003485/0.7446, allocations: 1.561 MB / 0.7886 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/0.7458, allocations: 1.081 MB / 0.7896 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00402/0.7498, allocations: 1.948 MB / 0.7915 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=223): time 3.577e-06/0.7498, allocations: 4 kB / 0.7915 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of matching and sorting (n=223): time 0.01286/0.7627, allocations: 4.929 MB / 0.7963 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.7628, allocations: 257.3 kB / 0.7966 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002858/0.7657, allocations: 1.951 MB / 0.7985 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002363/0.766, allocations: 61.7 kB / 0.7986 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001049/0.767, allocations: 1.236 MB / 0.7998 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007225/0.7677, allocations: 0.743 MB / 0.8005 GB, free: 316 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003098/0.7681, allocations: 190.1 kB / 0.8007 GB, free: 120 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.7682, allocations: 305.1 kB / 0.801 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003643/0.7718, allocations: 1.452 MB / 0.8024 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003859/0.7757, allocations: 1.768 MB / 0.8041 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00719/0.7829, allocations: 3.198 MB / 0.8072 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.7829, allocations: 8 kB / 0.8072 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.009388/0.7923, allocations: 3.751 MB / 0.8109 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.7924, allocations: 8.469 kB / 0.8109 GB, free: 5.449 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.7924, allocations: 12.02 kB / 0.8109 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006634/0.7931, allocations: 88.78 kB / 0.811 GB, free: 5.348 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003456/0.7965, allocations: 0.7215 MB / 0.8117 GB, free: 4.625 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.7988, allocations: 1.535 MB / 0.8132 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003452/0.8023, allocations: 453.3 kB / 0.8136 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003395/0.8026, allocations: 139.8 kB / 0.8138 GB, free: 2.375 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 14 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,radSol[1].solAzi.outsidePolarCircle,radSol[2].solAzi.outsidePolarCircle,radSol[3].solAzi.outsidePolarCircle,radSol[4].solAzi.outsidePolarCircle,radSol[5].solAzi.outsidePolarCircle,radSol[6].solAzi.outsidePolarCircle,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001958/0.8046, allocations: 0.8033 MB / 0.8146 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006599/0.8053, allocations: 229.2 kB / 0.8148 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3944/1.2, allocations: 4.033 MB / 0.8187 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.423e-05/1.2, allocations: 32.17 kB / 0.8187 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/1.2, allocations: 2.812 kB / 0.8187 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.68e-05/1.2, allocations: 11.81 kB / 0.8188 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/1.215, allocations: 7.231 MB / 0.8258 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-06/1.215, allocations: 0 / 0.8258 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002885/1.218, allocations: 0.6064 MB / 0.8264 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005209/1.218, allocations: 91.98 kB / 0.8265 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/1.218, allocations: 70.97 kB / 0.8266 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/1.22, allocations: 1.54 MB / 0.8281 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.22, allocations: 4.031 kB / 0.8281 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0077/1.228, allocations: 3.344 MB / 0.8313 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/1.229, allocations: 0.7458 MB / 0.8321 GB, free: 208.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003275/1.229, allocations: 46.11 kB / 0.8321 GB, free: 208.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002323/1.232, allocations: 295 kB / 0.8324 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003248/1.232, allocations: 160.8 kB / 0.8325 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001929/1.232, allocations: 89.08 kB / 0.8326 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002543/1.235, allocations: 1.465 MB / 0.8341 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.11e-07/1.235, allocations: 1 kB / 0.8341 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003334/1.238, allocations: 0.8821 MB / 0.8349 GB, free: 208 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 248 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001657/1.24, allocations: 0.6821 MB / 0.8356 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008154/1.248, allocations: 3.392 MB / 0.8389 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.248, allocations: 1.062 kB / 0.8389 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003593/1.252, allocations: 1.727 MB / 0.8406 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/1.254, allocations: 424.2 kB / 0.841 GB, free: 205.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/1.266, allocations: 7.849 MB / 0.8487 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/1.267, allocations: 2.221 MB / 0.8508 GB, free: 198.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003178/1.271, allocations: 0.9424 MB / 0.8517 GB, free: 197.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/1.272, allocations: 307.1 kB / 0.852 GB, free: 197 MB / 0.6387 GB Notification: Performance of SimCode: time 8.22e-07/1.272, allocations: 0 / 0.852 GB, free: 197 MB / 0.6387 GB Notification: Performance of Templates: time 0.05056/1.322, allocations: 37.18 MB / 0.8884 GB, free: 160.1 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.makefile (rm -f IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; mkfifo IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; head -c 1048576 < IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe >> ../files/IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.sim & ./IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe 2>&1)