Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.00826/0.00826, allocations: 101.9 kB / 15.73 MB, free: 6.047 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.001295/0.001295, allocations: 188.3 kB / 16.67 MB, free: 5.98 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.463/1.463, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001212/0.001212, allocations: 47.94 kB / 326.6 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1015, allocations: 46.61 MB / 373.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004843/0.1064, allocations: 3.103 MB / 376.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.1083, allocations: 0.8275 MB / 377.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003496/0.1086, allocations: 8 kB / 377.1 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.109, allocations: 55.38 kB / 377.2 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004252/0.1094, allocations: 114.9 kB / 377.3 MB, free: 448 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005468/0.11, allocations: 147.7 kB / 377.4 MB, free: 300 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2003/0.3103, allocations: 0.5364 MB / 377.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000477/0.3108, allocations: 163.2 kB / 378.1 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000512/0.3113, allocations: 216.9 kB / 378.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.3117, allocations: 253.3 kB / 378.6 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.898e-05/0.3118, allocations: 52.16 kB / 378.6 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.3119, allocations: 57.98 kB / 378.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.3121, allocations: 110.9 kB / 378.8 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.3123, allocations: 242.7 kB / 379 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006955/0.313, allocations: 0.5445 MB / 379.6 MB, free: 10.24 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.313, allocations: 0 / 379.6 MB, free: 10.24 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.313, allocations: 0 / 379.6 MB, free: 10.24 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.3131, allocations: 1.375 kB / 379.6 MB, free: 10.24 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.001616/0.3147, allocations: 0.7915 MB / 380.4 MB, free: 9.754 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.3147, allocations: 10.97 kB / 380.4 MB, free: 9.754 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.3149, allocations: 45.98 kB / 380.4 MB, free: 9.734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005582/0.3154, allocations: 308.4 kB / 380.7 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.135e-05/0.3155, allocations: 28.28 kB / 380.7 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.3156, allocations: 36.47 kB / 380.8 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.3169, allocations: 0.5025 MB / 381.3 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.3169, allocations: 5.062 kB / 381.3 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/0.317, allocations: 18.91 kB / 381.3 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.317, allocations: 9.125 kB / 381.3 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.3184, allocations: 0.4973 MB / 381.8 MB, free: 9.281 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.002508/0.3209, allocations: 1.666 MB / 383.5 MB, free: 8.121 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.322, allocations: 425.7 kB / 383.9 MB, free: 7.977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004979/0.3225, allocations: 240.2 kB / 384.1 MB, free: 7.895 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.793e-05/0.3226, allocations: 10.58 kB / 384.1 MB, free: 7.895 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.3226, allocations: 43.09 kB / 384.2 MB, free: 7.848 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 4.088e-06/0.3226, allocations: 3.891 kB / 384.2 MB, free: 7.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.00485/0.3275, allocations: 1.36 MB / 385.5 MB, free: 7.375 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.3276, allocations: 166.5 kB / 385.7 MB, free: 7.184 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.3279, allocations: 275 kB / 386 MB, free: 7.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.328, allocations: 31.89 kB / 386 MB, free: 6.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.3281, allocations: 200 kB / 386.2 MB, free: 6.824 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.325e-05/0.3282, allocations: 140.8 kB / 386.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.3283, allocations: 80.09 kB / 386.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.3284, allocations: 339.8 kB / 386.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004592/0.3289, allocations: 183.6 kB / 386.9 MB, free: 6.293 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/0.3294, allocations: 282.5 kB / 387.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000869/0.3303, allocations: 427.7 kB / 387.6 MB, free: 5.938 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3303, allocations: 1.156 kB / 387.6 MB, free: 5.938 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001723/0.332, allocations: 0.679 MB / 388.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.3321, allocations: 10.12 kB / 388.3 MB, free: 5.699 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3321, allocations: 1.875 kB / 388.3 MB, free: 5.699 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/0.3334, allocations: 320 kB / 388.6 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.3337, allocations: 79.62 kB / 388.7 MB, free: 5.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/0.3348, allocations: 1.352 MB / 390 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004919/0.3353, allocations: 74.61 kB / 390.1 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.3354, allocations: 17.98 kB / 390.1 MB, free: 4.426 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.0002052/0.3356, allocations: 156.7 kB / 390.3 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.442e-05/0.3357, allocations: 36.59 kB / 390.3 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/0.3377, allocations: 0.7337 MB / 391.1 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.3378, allocations: 3.5 kB / 391.1 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3378, allocations: 1.406 kB / 391.1 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.3378, allocations: 2.625 kB / 391.1 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005864/0.3384, allocations: 464.8 kB / 391.5 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.3384, allocations: 0 / 391.5 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/0.3387, allocations: 66.84 kB / 391.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001171/0.3399, allocations: 320.8 kB / 391.9 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.3399, allocations: 7.672 kB / 391.9 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.3409, allocations: 1.359 MB / 393.3 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.341, allocations: 1.094 kB / 393.3 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.3435, allocations: 1.016 MB / 394.3 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.3436, allocations: 111.2 kB / 394.4 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.145e-05/0.3437, allocations: 11.25 kB / 394.4 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003608/0.344, allocations: 42.62 kB / 394.4 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.3441, allocations: 32.31 kB / 394.5 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.3442, allocations: 10.78 kB / 394.5 MB, free: 1.883 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002864/0.3445, allocations: 193.6 kB / 394.7 MB, free: 1.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3445, allocations: 0 / 394.7 MB, free: 1.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005233/0.345, allocations: 109.8 kB / 394.8 MB, free: 1.746 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.000226/0.3453, allocations: 112.2 kB / 394.9 MB, free: 1.645 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.3467, allocations: 479 kB / 395.4 MB, free: 1.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.3467, allocations: 2.312 kB / 395.4 MB, free: 1.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006322/0.3473, allocations: 251.2 kB / 395.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.3478, allocations: 53.47 kB / 395.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.3496, allocations: 0.8594 MB / 396.5 MB, free: 0.957 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.3499, allocations: 0.7929 MB / 397.3 MB, free: 260 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000145/0.3501, allocations: 32.25 kB / 397.3 MB, free: 252 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.3501, allocations: 22.27 kB / 397.4 MB, free: 248 kB / 318.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3501, allocations: 0 / 397.4 MB, free: 248 kB / 318.1 MB Notification: Performance of Templates: time 0.01188/0.362, allocations: 5.977 MB / 403.3 MB, free: 13.74 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1)