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.001641/0.001641, allocations: 109.9 kB / 17.06 MB, free: 6.137 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.001907/0.001907, allocations: 191 kB / 18 MB, free: 5.219 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.597/1.597, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001335/0.001335, allocations: 51.92 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1383, allocations: 46.61 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004572/0.143, allocations: 3.104 MB / 377.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.1446, allocations: 0.8237 MB / 378.4 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002633/0.1449, allocations: 4 kB / 378.4 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.1451, allocations: 63.38 kB / 378.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.1454, allocations: 114.9 kB / 378.6 MB, free: 464 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006113/0.1461, allocations: 151.7 kB / 378.7 MB, free: 312 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2842/0.4302, allocations: 0.5278 MB / 379.3 MB, free: 9.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006743/0.431, allocations: 164.9 kB / 379.4 MB, free: 9.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006849/0.4317, allocations: 216.6 kB / 379.6 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004531/0.4321, allocations: 248.9 kB / 379.9 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.4323, allocations: 51.72 kB / 379.9 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.4324, allocations: 62.38 kB / 380 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.4326, allocations: 114.1 kB / 380.1 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003026/0.4329, allocations: 235.6 kB / 380.3 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009773/0.4338, allocations: 0.5476 MB / 380.9 MB, free: 9.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.4339, allocations: 0 / 380.9 MB, free: 9.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.997e-06/0.4339, allocations: 0 / 380.9 MB, free: 9.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.4339, allocations: 1.375 kB / 380.9 MB, free: 9.703 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001951/0.4359, allocations: 0.7904 MB / 381.7 MB, free: 9.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/0.4359, allocations: 9.594 kB / 381.7 MB, free: 9.215 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.4361, allocations: 44.72 kB / 381.7 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006078/0.4367, allocations: 308.4 kB / 382 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.392e-05/0.4368, allocations: 30.59 kB / 382.1 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.4369, allocations: 34.03 kB / 382.1 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.4387, allocations: 0.5024 MB / 382.6 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.4387, allocations: 3.938 kB / 382.6 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.89e-05/0.4388, allocations: 17.06 kB / 382.6 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.4388, allocations: 9.281 kB / 382.6 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.4406, allocations: 0.5026 MB / 383.1 MB, free: 8.852 MB / 318.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.002888/0.4435, allocations: 1.667 MB / 384.8 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.4447, allocations: 427.6 kB / 385.2 MB, free: 7.734 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006/0.4454, allocations: 242.1 kB / 385.4 MB, free: 7.648 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.117e-05/0.4454, allocations: 11.81 kB / 385.5 MB, free: 7.648 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.4455, allocations: 41.41 kB / 385.5 MB, free: 7.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 3.106e-06/0.4455, allocations: 0 / 385.5 MB, free: 7.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.005501/0.451, allocations: 1.367 MB / 386.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.4511, allocations: 159.1 kB / 387 MB, free: 6.941 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.4515, allocations: 270.7 kB / 387.3 MB, free: 6.785 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.4515, allocations: 36.67 kB / 387.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.4517, allocations: 206.4 kB / 387.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.4518, allocations: 133.9 kB / 387.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.452, allocations: 79.44 kB / 387.7 MB, free: 6.426 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.4521, allocations: 343.9 kB / 388.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000537/0.4526, allocations: 179.5 kB / 388.2 MB, free: 6.051 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006546/0.4533, allocations: 288 kB / 388.5 MB, free: 5.887 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.4544, allocations: 424.9 kB / 388.9 MB, free: 5.695 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4544, allocations: 0 / 388.9 MB, free: 5.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002043/0.4564, allocations: 0.6764 MB / 389.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.4565, allocations: 8.844 kB / 389.6 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.4565, allocations: 6.094 kB / 389.6 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001453/0.4579, allocations: 315.5 kB / 389.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.4583, allocations: 79.31 kB / 390 MB, free: 5.383 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.4597, allocations: 1.351 MB / 391.4 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006396/0.4603, allocations: 81 kB / 391.4 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.4604, allocations: 16.69 kB / 391.5 MB, free: 4.18 MB / 318.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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,9), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003327/0.4607, allocations: 152.1 kB / 391.6 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.4608, allocations: 33.72 kB / 391.6 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002664/0.4635, allocations: 0.7443 MB / 392.4 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.4635, allocations: 3.969 kB / 392.4 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.4635, allocations: 0 / 392.4 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.4636, allocations: 3.5 kB / 392.4 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007816/0.4643, allocations: 462.7 kB / 392.8 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4644, allocations: 0.6562 kB / 392.8 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003299/0.4647, allocations: 55.98 kB / 392.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/0.4661, allocations: 326.2 kB / 393.2 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.4661, allocations: 12.11 kB / 393.2 MB, free: 3.371 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.4673, allocations: 1.359 MB / 394.6 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4673, allocations: 0.75 kB / 394.6 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002731/0.47, allocations: 1.013 MB / 395.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.4702, allocations: 112.3 kB / 395.7 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.588e-05/0.4702, allocations: 8.719 kB / 395.7 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.4706, allocations: 45.56 kB / 395.8 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-05/0.4707, allocations: 26.44 kB / 395.8 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.4708, allocations: 12.09 kB / 395.8 MB, free: 1.645 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002476/0.471, allocations: 198.9 kB / 396 MB, free: 1.523 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.471, allocations: 0.8438 kB / 396 MB, free: 1.523 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005507/0.4716, allocations: 112.7 kB / 396.1 MB, free: 1.496 MB / 318.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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,10), (1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002156/0.4718, allocations: 109.5 kB / 396.2 MB, free: 1.402 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.4733, allocations: 479.6 kB / 396.7 MB, free: 1.277 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4733, allocations: 0 / 396.7 MB, free: 1.277 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006383/0.4739, allocations: 255.9 kB / 396.9 MB, free: 1.211 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.4744, allocations: 46 kB / 397 MB, free: 1.191 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.4762, allocations: 0.8588 MB / 397.8 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.4766, allocations: 0.7925 MB / 398.6 MB, free: 12 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001656/0.4768, allocations: 33.2 kB / 398.7 MB, free: 4 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.4769, allocations: 27.5 kB / 398.7 MB, free: 16 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4769, allocations: 0 / 398.7 MB, free: 16 MB / 334.1 MB Notification: Performance of Templates: time 0.01442/0.4914, allocations: 5.976 MB / 404.7 MB, free: 13.52 MB / 334.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)