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.007008/0.007008, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001501/0.001501, allocations: 196.2 kB / 16.67 MB, free: 5.52 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8119/0.8119, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 58.53 kB / 0.5815 GB, free: 23.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1893, allocations: 80.21 MB / 0.6599 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.00925/0.1986, allocations: 7.113 MB / 0.6668 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6941/0.8927, allocations: 155.5 MB / 0.8187 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002183/0.895, allocations: 30.97 kB / 0.8187 GB, free: 8.836 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001112/0.8961, allocations: 283.9 kB / 0.819 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003179/0.8993, allocations: 0.7215 MB / 0.8197 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003837/0.9031, allocations: 1.209 MB / 0.8209 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005385/0.9085, allocations: 4.068 MB / 0.8248 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003366/0.9119, allocations: 2.476 MB / 0.8273 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003668/0.9156, allocations: 1.683 MB / 0.8289 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002782/0.9184, allocations: 1.743 MB / 0.8306 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006974/0.9191, allocations: 344.5 kB / 0.8309 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/0.9216, allocations: 0.9435 MB / 0.8319 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008537/0.9225, allocations: 0.8949 MB / 0.8327 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002472/0.925, allocations: 1.725 MB / 0.8344 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007492/0.9325, allocations: 4.667 MB / 0.839 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.419e-05/0.9326, allocations: 4 kB / 0.839 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.348e-05/0.9326, allocations: 2.531 kB / 0.839 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001921/0.9328, allocations: 7.875 kB / 0.839 GB, free: 12.1 MB / 0.6075 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.01056/0.9434, allocations: 3.897 MB / 0.8428 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.064e-05/0.9434, allocations: 9.656 kB / 0.8428 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/0.9537, allocations: 1.298 MB / 0.8441 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005026/0.9588, allocations: 1.939 MB / 0.846 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002977/0.9591, allocations: 235 kB / 0.8462 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001202/0.9603, allocations: 292 kB / 0.8465 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01193/0.9723, allocations: 4.215 MB / 0.8506 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.382e-05/0.9724, allocations: 0 / 0.8506 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000361/0.9728, allocations: 131.9 kB / 0.8507 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.379e-05/0.9728, allocations: 76 kB / 0.8508 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01171/0.9846, allocations: 4.592 MB / 0.8553 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02646/1.011, allocations: 12.77 MB / 0.8677 GB, free: 0 / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0125/1.024, allocations: 3.778 MB / 0.8714 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004544/1.028, allocations: 1.561 MB / 0.873 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/1.03, allocations: 1.073 MB / 0.874 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005691/1.035, allocations: 1.944 MB / 0.8759 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=223): time 7.524e-06/1.035, allocations: 0 / 0.8759 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of matching and sorting (n=223): time 0.01653/1.052, allocations: 4.909 MB / 0.8807 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001681/1.052, allocations: 261.3 kB / 0.8809 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004447/1.057, allocations: 1.943 MB / 0.8828 GB, free: 140 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0006747/1.057, allocations: 69.7 kB / 0.8829 GB, free: 64 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001371/1.059, allocations: 1.232 MB / 0.8841 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001523/1.06, allocations: 0.747 MB / 0.8848 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001786/1.062, allocations: 0.5269 MB / 0.8854 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001201/1.062, allocations: 305.1 kB / 0.8856 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004222/1.066, allocations: 1.445 MB / 0.8871 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004634/1.071, allocations: 1.764 MB / 0.8888 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009033/1.08, allocations: 3.187 MB / 0.8919 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/1.08, allocations: 0 / 0.8919 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01209/1.092, allocations: 3.739 MB / 0.8955 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/1.092, allocations: 12 kB / 0.8956 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/1.092, allocations: 7.938 kB / 0.8956 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006701/1.093, allocations: 92.78 kB / 0.8957 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004032/1.097, allocations: 0.7097 MB / 0.8963 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/1.099, allocations: 1.644 MB / 0.898 GB, free: 292 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004093/1.104, allocations: 441.5 kB / 0.8984 GB, free: 15.85 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006789/1.104, allocations: 132 kB / 0.8985 GB, free: 15.72 MB / 0.67 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.002527/1.107, allocations: 0.8033 MB / 0.8993 GB, free: 14.91 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001117/1.108, allocations: 233.1 kB / 0.8995 GB, free: 14.68 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/1.12, allocations: 4.023 MB / 0.9034 GB, free: 10.63 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/1.12, allocations: 24 kB / 0.9035 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/1.12, allocations: 0 / 0.9035 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.764e-05/1.12, allocations: 15.94 kB / 0.9035 GB, free: 10.59 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01808/1.138, allocations: 7.181 MB / 0.9105 GB, free: 3.234 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/1.138, allocations: 3.938 kB / 0.9105 GB, free: 3.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003373/1.141, allocations: 0.589 MB / 0.9111 GB, free: 2.641 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005127/1.142, allocations: 84.72 kB / 0.9111 GB, free: 2.555 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004009/1.142, allocations: 63.95 kB / 0.9112 GB, free: 2.492 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/1.145, allocations: 1.662 MB / 0.9128 GB, free: 0.6836 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.145, allocations: 4.062 kB / 0.9128 GB, free: 0.6797 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009712/1.154, allocations: 3.329 MB / 0.9161 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002012/1.156, allocations: 0.677 MB / 0.9167 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000904/1.157, allocations: 67.69 kB / 0.9168 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003154/1.16, allocations: 275.6 kB / 0.9171 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004627/1.161, allocations: 153.8 kB / 0.9172 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002922/1.161, allocations: 88 kB / 0.9173 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003271/1.165, allocations: 1.462 MB / 0.9187 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.41e-07/1.165, allocations: 0 / 0.9187 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004107/1.169, allocations: 0.8916 MB / 0.9196 GB, free: 9.68 MB / 0.6856 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.002341/1.171, allocations: 0.6925 MB / 0.9203 GB, free: 9.191 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.009801/1.181, allocations: 3.389 MB / 0.9236 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/1.181, allocations: 0 / 0.9236 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004655/1.186, allocations: 1.716 MB / 0.9253 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003819/1.189, allocations: 450.8 kB / 0.9257 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01795/1.207, allocations: 6.294 MB / 0.9318 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003224/1.211, allocations: 2.221 MB / 0.934 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.004722/1.215, allocations: 0.9424 MB / 0.9349 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001986/1.217, allocations: 303.2 kB / 0.9352 GB, free: 9.824 MB / 0.7012 GB Notification: Performance of SimCode: time 1.492e-06/1.217, allocations: 0 / 0.9352 GB, free: 9.824 MB / 0.7012 GB Notification: Performance of Templates: time 0.0742/1.292, allocations: 39.67 MB / 0.974 GB, free: 2.305 MB / 0.7325 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)