Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.CharacteristicThyristors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.001051, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.01172/0.01172, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.702/1.702, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.0004964/0.0004964, allocations: 12 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2702, allocations: 47.58 MB / 327 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004407/0.2747, allocations: 3.56 MB / 330.6 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002922/0.2776, allocations: 1.316 MB / 331.9 MB, free: 13.49 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003149/0.278, allocations: 10.88 kB / 331.9 MB, free: 13.49 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008814/0.2788, allocations: 227.4 kB / 332.1 MB, free: 13.35 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006139/0.2795, allocations: 228.4 kB / 332.4 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006592/0.2801, allocations: 223.1 kB / 332.6 MB, free: 13.01 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008337/0.281, allocations: 0.6862 MB / 333.3 MB, free: 12.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003046/0.2813, allocations: 155.4 kB / 333.4 MB, free: 12.52 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003852/0.2817, allocations: 238.3 kB / 333.6 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003674/0.2821, allocations: 272.4 kB / 333.9 MB, free: 12.22 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.406e-05/0.2821, allocations: 25.41 kB / 333.9 MB, free: 12.22 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.2824, allocations: 58.89 kB / 334 MB, free: 12.21 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.2825, allocations: 121 kB / 334.1 MB, free: 12.12 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002878/0.2828, allocations: 287.8 kB / 334.4 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006886/0.2835, allocations: 0.6528 MB / 335 MB, free: 11.35 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2835, allocations: 0 / 335 MB, free: 11.35 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.2835, allocations: 0 / 335 MB, free: 11.35 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.2835, allocations: 4 kB / 335.1 MB, free: 11.34 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.00155/0.2851, allocations: 0.8597 MB / 335.9 MB, free: 10.43 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2852, allocations: 8.031 kB / 335.9 MB, free: 10.42 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.2853, allocations: 64.19 kB / 336 MB, free: 10.36 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006068/0.2859, allocations: 402.8 kB / 336.4 MB, free: 9.922 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/0.2859, allocations: 33.36 kB / 336.4 MB, free: 9.891 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.755e-05/0.286, allocations: 48.12 kB / 336.5 MB, free: 9.844 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007988/0.2868, allocations: 441.5 kB / 336.9 MB, free: 9.391 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.2868, allocations: 0 / 336.9 MB, free: 9.391 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.2869, allocations: 19.94 kB / 336.9 MB, free: 9.371 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.2869, allocations: 11.98 kB / 336.9 MB, free: 9.359 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000615/0.2875, allocations: 327.8 kB / 337.2 MB, free: 9.039 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00302/0.2906, allocations: 1.71 MB / 338.9 MB, free: 7.234 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009842/0.2916, allocations: 375 kB / 339.3 MB, free: 6.859 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006208/0.2922, allocations: 192.3 kB / 339.5 MB, free: 6.668 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.879e-05/0.2923, allocations: 4 kB / 339.5 MB, free: 6.664 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007173/0.293, allocations: 270.4 kB / 339.8 MB, free: 6.371 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 3.296e-06/0.293, allocations: 0 / 339.8 MB, free: 6.371 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.003265/0.2963, allocations: 1.028 MB / 340.8 MB, free: 5.25 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001761/0.2965, allocations: 191.9 kB / 341 MB, free: 5.02 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009776/0.2975, allocations: 0.4902 MB / 341.5 MB, free: 4.512 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.314e-05/0.2975, allocations: 33.7 kB / 341.5 MB, free: 4.473 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/0.2979, allocations: 260.4 kB / 341.8 MB, free: 4.215 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.298, allocations: 118.3 kB / 341.9 MB, free: 4.098 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.728e-05/0.2981, allocations: 41.64 kB / 341.9 MB, free: 4.051 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002672/0.2984, allocations: 362.8 kB / 342.3 MB, free: 3.688 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/0.2988, allocations: 116.8 kB / 342.4 MB, free: 3.57 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005194/0.2994, allocations: 217.3 kB / 342.6 MB, free: 3.324 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007225/0.3001, allocations: 277.3 kB / 342.9 MB, free: 3.043 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3001, allocations: 0 / 342.9 MB, free: 3.043 MB / 270.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001244/0.3014, allocations: 480.7 kB / 343.3 MB, free: 2.555 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.3014, allocations: 8 kB / 343.3 MB, free: 2.547 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.3015, allocations: 4.094 kB / 343.4 MB, free: 2.543 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007048/0.3022, allocations: 159.3 kB / 343.5 MB, free: 2.375 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.3025, allocations: 47.92 kB / 343.6 MB, free: 2.328 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006836/0.3093, allocations: 5.962 MB / 349.5 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005857/0.31, allocations: 55.7 kB / 349.6 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.31, allocations: 15.98 kB / 349.6 MB, free: 11.77 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000314/0.3103, allocations: 188.3 kB / 349.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.054e-05/0.3104, allocations: 63.28 kB / 349.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.3105, allocations: 56.77 kB / 349.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3106, allocations: 4 kB / 349.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3106, allocations: 3.984 kB / 349.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.3106, allocations: 4 kB / 349.9 MB, free: 11.44 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005364/0.3111, allocations: 497 kB / 350.4 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3111, allocations: 0 / 350.4 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.3113, allocations: 31.92 kB / 350.4 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004307/0.3117, allocations: 159.3 kB / 350.6 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.3118, allocations: 8 kB / 350.6 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004519/0.3163, allocations: 5.804 MB / 356.4 MB, free: 4.355 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3163, allocations: 7.875 kB / 356.4 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.3173, allocations: 0.5163 MB / 356.9 MB, free: 3.801 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.3176, allocations: 156.4 kB / 357.1 MB, free: 3.629 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.975e-05/0.3176, allocations: 8 kB / 357.1 MB, free: 3.621 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.3179, allocations: 39.97 kB / 357.1 MB, free: 3.582 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.3181, allocations: 51.92 kB / 357.2 MB, free: 3.531 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.3181, allocations: 12 kB / 357.2 MB, free: 3.52 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004297/0.3185, allocations: 363.1 kB / 357.5 MB, free: 3.168 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3186, allocations: 0 / 357.5 MB, free: 3.168 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008093/0.3194, allocations: 167.7 kB / 357.7 MB, free: 3.004 MB / 286.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: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/0.3204, allocations: 441.4 kB / 358.1 MB, free: 2.57 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.3216, allocations: 0.7915 MB / 358.9 MB, free: 1.727 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3216, allocations: 8 kB / 358.9 MB, free: 1.719 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006862/0.3223, allocations: 0.6548 MB / 359.6 MB, free: 1.012 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005913/0.3229, allocations: 113.8 kB / 359.7 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.325, allocations: 1.18 MB / 360.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.3255, allocations: 0.8592 MB / 361.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002177/0.3257, allocations: 52.17 kB / 361.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-05/0.3258, allocations: 31.42 kB / 361.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3258, allocations: 0 / 361.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of Templates: time 0.01678/0.3426, allocations: 8.694 MB / 370.5 MB, free: 6.016 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1)