Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 90.31 kB / 16.31 MB, free: 6.391 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.001165/0.001165, allocations: 175.6 kB / 17.2 MB, free: 6.293 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.407/1.407, allocations: 205.4 MB / 223.4 MB, free: 5.559 MB / 174.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.0004126/0.0004127, allocations: 8 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2281, allocations: 47.59 MB / 327.7 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.002645/0.2308, allocations: 2.637 MB / 330.4 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.2322, allocations: 0.7912 MB / 331.2 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002554/0.2325, allocations: 5.812 kB / 331.2 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.2327, allocations: 36.09 kB / 331.2 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.2329, allocations: 100.2 kB / 331.3 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.2333, allocations: 105 kB / 331.4 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005511/0.2339, allocations: 495.8 kB / 331.9 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002433/0.2341, allocations: 124 kB / 332 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003366/0.2345, allocations: 185.2 kB / 332.2 MB, free: 14 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.2348, allocations: 212.8 kB / 332.4 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.954e-05/0.2349, allocations: 30.97 kB / 332.4 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.235, allocations: 32.69 kB / 332.4 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.759e-05/0.2351, allocations: 87.77 kB / 332.5 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.2352, allocations: 96.11 kB / 332.6 MB, free: 13.72 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.2356, allocations: 409 kB / 333 MB, free: 13.41 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2356, allocations: 5.188 kB / 333 MB, free: 13.41 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2356, allocations: 0 / 333 MB, free: 13.41 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.2356, allocations: 0 / 333 MB, free: 13.41 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001516/0.2372, allocations: 0.7562 MB / 333.8 MB, free: 12.81 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2372, allocations: 8.812 kB / 333.8 MB, free: 12.81 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.2373, allocations: 47.97 kB / 333.8 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.2377, allocations: 295.9 kB / 334.1 MB, free: 12.49 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.2378, allocations: 32.2 kB / 334.2 MB, free: 12.47 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.806e-05/0.2379, allocations: 35.69 kB / 334.2 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.239, allocations: 0.5283 MB / 334.7 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.239, allocations: 7.938 kB / 334.7 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.2391, allocations: 15.44 kB / 334.8 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.2391, allocations: 13.47 kB / 334.8 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.2404, allocations: 0.5576 MB / 335.3 MB, free: 11.77 MB / 270.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00251/0.243, allocations: 1.698 MB / 337 MB, free: 9.93 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.244, allocations: 459.7 kB / 337.5 MB, free: 9.473 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.2445, allocations: 265.8 kB / 337.7 MB, free: 9.211 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/0.2445, allocations: 8.312 kB / 337.7 MB, free: 9.203 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.2446, allocations: 38.89 kB / 337.8 MB, free: 9.156 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 1.733e-06/0.2446, allocations: 0 / 337.8 MB, free: 9.156 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.004541/0.2491, allocations: 1.545 MB / 339.3 MB, free: 7.562 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.2492, allocations: 162.2 kB / 339.5 MB, free: 7.367 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.2495, allocations: 266.9 kB / 339.7 MB, free: 7.102 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.2496, allocations: 37.7 kB / 339.8 MB, free: 7.059 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.2497, allocations: 196.4 kB / 340 MB, free: 6.863 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.924e-05/0.2498, allocations: 141.9 kB / 340.1 MB, free: 6.723 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.2498, allocations: 12 kB / 340.1 MB, free: 6.711 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.25, allocations: 346.8 kB / 340.5 MB, free: 6.363 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004844/0.2504, allocations: 200.7 kB / 340.7 MB, free: 6.164 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005242/0.251, allocations: 310.4 kB / 341 MB, free: 5.828 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004947/0.2515, allocations: 207.9 kB / 341.2 MB, free: 5.625 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2515, allocations: 4 kB / 341.2 MB, free: 5.621 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001769/0.2533, allocations: 0.7757 MB / 341.9 MB, free: 4.832 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2533, allocations: 4 kB / 341.9 MB, free: 4.828 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.2533, allocations: 4 kB / 341.9 MB, free: 4.824 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.2545, allocations: 337.4 kB / 342.3 MB, free: 4.488 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.2549, allocations: 91.88 kB / 342.4 MB, free: 4.398 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.256, allocations: 1.358 MB / 343.7 MB, free: 2.988 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/0.2565, allocations: 91.75 kB / 343.8 MB, free: 2.898 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.2566, allocations: 27.94 kB / 343.8 MB, free: 2.871 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.000187/0.2568, allocations: 149.8 kB / 344 MB, free: 2.715 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/0.2568, allocations: 31.62 kB / 344 MB, free: 2.684 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/0.2589, allocations: 0.8175 MB / 344.8 MB, free: 1.852 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.2589, allocations: 7.953 kB / 344.8 MB, free: 1.844 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2589, allocations: 0 / 344.8 MB, free: 1.844 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.2589, allocations: 3.984 kB / 344.8 MB, free: 1.84 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005354/0.2594, allocations: 462.2 kB / 345.3 MB, free: 1.34 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.2595, allocations: 4 kB / 345.3 MB, free: 1.336 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002846/0.2597, allocations: 63.89 kB / 345.4 MB, free: 1.273 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001123/0.2609, allocations: 337.4 kB / 345.7 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.2609, allocations: 15.98 kB / 345.7 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.2621, allocations: 1.378 MB / 347.1 MB, free: 15.49 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.2621, allocations: 4.188 kB / 347.1 MB, free: 15.49 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002423/0.2645, allocations: 1.129 MB / 348.2 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.2646, allocations: 112.6 kB / 348.3 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.603e-05/0.2647, allocations: 4 kB / 348.3 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/0.2651, allocations: 75.94 kB / 348.4 MB, free: 14.13 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.2651, allocations: 23.92 kB / 348.4 MB, free: 14.11 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.2652, allocations: 8 kB / 348.4 MB, free: 14.1 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002153/0.2654, allocations: 193.9 kB / 348.6 MB, free: 13.91 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2654, allocations: 3.938 kB / 348.6 MB, free: 13.9 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004353/0.2659, allocations: 115.8 kB / 348.7 MB, free: 13.79 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001671/0.266, allocations: 103.6 kB / 348.8 MB, free: 13.68 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.2673, allocations: 0.515 MB / 349.4 MB, free: 13.16 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2673, allocations: 0 / 349.4 MB, free: 13.16 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005903/0.2679, allocations: 279.9 kB / 349.6 MB, free: 12.89 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.2684, allocations: 48.58 kB / 349.7 MB, free: 12.84 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.2701, allocations: 1.061 MB / 350.7 MB, free: 11.76 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.2705, allocations: 0.792 MB / 351.5 MB, free: 10.94 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001654/0.2706, allocations: 34.95 kB / 351.6 MB, free: 10.9 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.914e-05/0.2707, allocations: 19.44 kB / 351.6 MB, free: 10.88 MB / 286.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2707, allocations: 0 / 351.6 MB, free: 10.88 MB / 286.1 MB Notification: Performance of Templates: time 0.009868/0.2806, allocations: 5.211 MB / 356.8 MB, free: 5.668 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1)