Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor") translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008446/0.008446, allocations: 99.81 kB / 15.73 MB, free: 6.066 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.001842/0.001843, allocations: 195.2 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0012/0.001201, allocations: 52.31 kB / 326.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1056, allocations: 46.61 MB / 373.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003405/0.109, allocations: 2.138 MB / 375.3 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009104/0.11, allocations: 0.4996 MB / 375.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1101, allocations: 3.938 kB / 375.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.1103, allocations: 23.78 kB / 375.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.87e-05/0.1104, allocations: 39.58 kB / 375.9 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.1106, allocations: 43.88 kB / 375.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.1108, allocations: 163.2 kB / 376.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.111, allocations: 61.42 kB / 376.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.1111, allocations: 55.78 kB / 376.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.1113, allocations: 67.7 kB / 376.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.1113, allocations: 15.94 kB / 376.3 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-05/0.1114, allocations: 16 kB / 376.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.141e-05/0.1114, allocations: 27.92 kB / 376.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.475e-05/0.1115, allocations: 67.67 kB / 376.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.1117, allocations: 171.4 kB / 376.5 MB, free: 1.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1117, allocations: 4 kB / 376.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1118, allocations: 0 / 376.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1118, allocations: 0 / 376.5 MB, free: 1.156 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006332/0.1124, allocations: 439.1 kB / 377 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1125, allocations: 8.031 kB / 377 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.1126, allocations: 12.84 kB / 377 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.1129, allocations: 208 kB / 377.2 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.1129, allocations: 12.61 kB / 377.2 MB, free: 416 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1129, allocations: 12.38 kB / 377.2 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.1132, allocations: 127.8 kB / 377.3 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1132, allocations: 0 / 377.3 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.1132, allocations: 4 kB / 377.3 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1132, allocations: 7.938 kB / 377.4 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.1134, allocations: 76.66 kB / 377.4 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2348/0.3482, allocations: 0.5872 MB / 378 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.3486, allocations: 87.88 kB / 378.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.378e-05/0.3487, allocations: 31.06 kB / 378.1 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.3487, allocations: 4.875 kB / 378.1 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.3487, allocations: 33.06 kB / 378.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 3.246e-06/0.3488, allocations: 0 / 378.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007757/0.3495, allocations: 258.4 kB / 378.4 MB, free: 12.64 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.3496, allocations: 51.41 kB / 378.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.3497, allocations: 153.2 kB / 378.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.3497, allocations: 25.7 kB / 378.6 MB, free: 12.44 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.3498, allocations: 126.5 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.3498, allocations: 21.41 kB / 378.8 MB, free: 12.33 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.3499, allocations: 20.89 kB / 378.8 MB, free: 12.31 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.738e-05/0.35, allocations: 328.1 kB / 379.1 MB, free: 12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.036e-05/0.35, allocations: 23.98 kB / 379.2 MB, free: 12 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.791e-05/0.3501, allocations: 40.92 kB / 379.2 MB, free: 11.97 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.3503, allocations: 72.94 kB / 379.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3503, allocations: 1.375 kB / 379.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003019/0.3506, allocations: 129.8 kB / 379.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.3506, allocations: 7.562 kB / 379.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.3506, allocations: 5.312 kB / 379.4 MB, free: 11.9 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002462/0.3509, allocations: 34.69 kB / 379.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.1e-05/0.351, allocations: 14.66 kB / 379.5 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.3525, allocations: 1.693 MB / 381.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.804e-05/0.3526, allocations: 9.141 kB / 381.2 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.3526, allocations: 2.75 kB / 381.2 MB, free: 10.38 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.3527, allocations: 123.1 kB / 381.3 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.3527, allocations: 9.469 kB / 381.3 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.3528, allocations: 17.03 kB / 381.3 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3528, allocations: 1.188 kB / 381.3 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3528, allocations: 3.938 kB / 381.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3528, allocations: 4.609 kB / 381.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.353, allocations: 212.8 kB / 381.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.353, allocations: 1 kB / 381.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.3531, allocations: 6.297 kB / 381.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001281/0.3532, allocations: 41.67 kB / 381.6 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3532, allocations: 0 / 381.6 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/0.3545, allocations: 1.68 MB / 383.2 MB, free: 8.539 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3545, allocations: 4.5 kB / 383.3 MB, free: 8.535 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003673/0.3549, allocations: 215.5 kB / 383.5 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.3549, allocations: 89.09 kB / 383.5 MB, free: 8.262 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.3549, allocations: 5.141 kB / 383.6 MB, free: 8.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.355, allocations: 9.531 kB / 383.6 MB, free: 8.254 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.3551, allocations: 5.609 kB / 383.6 MB, free: 8.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.3551, allocations: 1.562 kB / 383.6 MB, free: 8.254 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.462e-05/0.3552, allocations: 107.3 kB / 383.7 MB, free: 8.172 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3552, allocations: 5.312 kB / 383.7 MB, free: 8.168 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003877/0.3556, allocations: 38.06 kB / 383.7 MB, free: 8.16 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001252/0.3557, allocations: 100.5 kB / 383.8 MB, free: 8.074 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000444/0.3562, allocations: 194.8 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3562, allocations: 0.6562 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.3564, allocations: 162.2 kB / 384.2 MB, free: 7.801 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.3567, allocations: 21.12 kB / 384.2 MB, free: 7.789 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005912/0.3573, allocations: 289.6 kB / 384.5 MB, free: 7.598 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.3575, allocations: 0.7106 MB / 385.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.319e-05/0.3575, allocations: 4.031 kB / 385.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.3575, allocations: 10.88 kB / 385.2 MB, free: 6.891 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3575, allocations: 0 / 385.2 MB, free: 6.891 MB / 318.1 MB Notification: Performance of Templates: time 0.00536/0.3629, allocations: 1.52 MB / 386.7 MB, free: 6.777 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1)