Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0007719/0.0007719, allocations: 89.39 kB / 16.32 MB, free: 6.457 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.0008118/0.0008118, allocations: 180.2 kB / 17.21 MB, free: 6.328 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.51/1.51, allocations: 205.4 MB / 223.4 MB, free: 5.535 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.0005137/0.0005138, allocations: 16 kB / 280.1 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2561, allocations: 47.59 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.003881/0.2601, allocations: 3.383 MB / 331.1 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.2625, allocations: 1.284 MB / 332.4 MB, free: 13.72 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002494/0.2628, allocations: 10.59 kB / 332.4 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000776/0.2635, allocations: 221.4 kB / 332.6 MB, free: 13.58 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004837/0.264, allocations: 218 kB / 332.8 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.2646, allocations: 210.5 kB / 333 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006919/0.2653, allocations: 0.6408 MB / 333.7 MB, free: 12.88 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.2656, allocations: 144.5 kB / 333.8 MB, free: 12.78 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.2659, allocations: 228 kB / 334 MB, free: 12.67 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.2662, allocations: 267.9 kB / 334.3 MB, free: 12.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.52e-05/0.2662, allocations: 24.31 kB / 334.3 MB, free: 12.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.2664, allocations: 62.58 kB / 334.4 MB, free: 12.49 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.2665, allocations: 116.4 kB / 334.5 MB, free: 12.4 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.2667, allocations: 128.4 kB / 334.6 MB, free: 12.32 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004731/0.2671, allocations: 0.5021 MB / 335.1 MB, free: 11.96 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2672, allocations: 0 / 335.1 MB, free: 11.96 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2672, allocations: 0 / 335.1 MB, free: 11.96 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.2672, allocations: 0 / 335.1 MB, free: 11.96 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.001366/0.2685, allocations: 0.8557 MB / 336 MB, free: 11.15 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.2686, allocations: 8.031 kB / 336 MB, free: 11.14 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.2687, allocations: 71.23 kB / 336.1 MB, free: 11.07 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005529/0.2693, allocations: 401.7 kB / 336.5 MB, free: 10.64 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.2693, allocations: 29 kB / 336.5 MB, free: 10.61 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.311e-05/0.2694, allocations: 36 kB / 336.5 MB, free: 10.58 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006812/0.2701, allocations: 437.6 kB / 337 MB, free: 10.13 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2701, allocations: 3.938 kB / 337 MB, free: 10.12 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.808e-05/0.2701, allocations: 16 kB / 337 MB, free: 10.11 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.2701, allocations: 12 kB / 337 MB, free: 10.1 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005578/0.2707, allocations: 311.8 kB / 337.3 MB, free: 9.793 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/0.2729, allocations: 1.726 MB / 339 MB, free: 7.973 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006212/0.2735, allocations: 359.1 kB / 339.4 MB, free: 7.613 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.2739, allocations: 192.5 kB / 339.6 MB, free: 7.422 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.2739, allocations: 4 kB / 339.6 MB, free: 7.418 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000413/0.2743, allocations: 270.4 kB / 339.8 MB, free: 7.125 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 1.643e-06/0.2743, allocations: 0 / 339.8 MB, free: 7.125 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.002005/0.2763, allocations: 1.021 MB / 340.8 MB, free: 6.012 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.148e-05/0.2764, allocations: 183.9 kB / 341 MB, free: 5.789 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005388/0.277, allocations: 0.494 MB / 341.5 MB, free: 5.277 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.277, allocations: 37.7 kB / 341.5 MB, free: 5.234 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.2772, allocations: 252.4 kB / 341.8 MB, free: 4.984 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.606e-05/0.2773, allocations: 122.3 kB / 341.9 MB, free: 4.863 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.2774, allocations: 12 kB / 341.9 MB, free: 4.852 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2775, allocations: 362.7 kB / 342.3 MB, free: 4.488 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.2778, allocations: 116.8 kB / 342.4 MB, free: 4.371 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.2781, allocations: 217.2 kB / 342.6 MB, free: 4.129 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.2783, allocations: 125.9 kB / 342.7 MB, free: 4.008 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2784, allocations: 0 / 342.7 MB, free: 4.008 MB / 270.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007973/0.2792, allocations: 480.7 kB / 343.2 MB, free: 3.52 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2792, allocations: 11.94 kB / 343.2 MB, free: 3.508 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.2792, allocations: 4.094 kB / 343.2 MB, free: 3.504 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004818/0.2797, allocations: 155.3 kB / 343.4 MB, free: 3.34 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.2799, allocations: 51.91 kB / 343.4 MB, free: 3.289 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004737/0.2847, allocations: 5.946 MB / 349.4 MB, free: 12.81 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.2851, allocations: 59.66 kB / 349.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.2851, allocations: 12 kB / 349.4 MB, free: 12.74 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 ($whenCondition2,$PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002559/0.2854, allocations: 200.3 kB / 349.6 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.443e-05/0.2854, allocations: 51.34 kB / 349.7 MB, free: 12.48 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.2856, allocations: 60.75 kB / 349.7 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.2856, allocations: 4 kB / 349.7 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2856, allocations: 7.891 kB / 349.8 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2856, allocations: 0 / 349.8 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004677/0.2861, allocations: 497.1 kB / 350.2 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2861, allocations: 3.938 kB / 350.2 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.2862, allocations: 31.98 kB / 350.3 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000379/0.2866, allocations: 155.4 kB / 350.4 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.2867, allocations: 8 kB / 350.4 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004521/0.2912, allocations: 5.792 MB / 356.2 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2912, allocations: 0 / 356.2 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009671/0.2922, allocations: 0.5047 MB / 356.7 MB, free: 4.805 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.2924, allocations: 164.3 kB / 356.9 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.2925, allocations: 11.94 kB / 356.9 MB, free: 4.613 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.2927, allocations: 35.97 kB / 356.9 MB, free: 4.578 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.2929, allocations: 63.86 kB / 357 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.2929, allocations: 12 kB / 357 MB, free: 4.504 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004574/0.2934, allocations: 355.1 kB / 357.4 MB, free: 4.16 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2934, allocations: 0 / 357.4 MB, free: 4.16 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000793/0.2942, allocations: 171.7 kB / 357.5 MB, free: 3.992 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001108/0.2953, allocations: 429.5 kB / 357.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.2965, allocations: 0.7914 MB / 358.7 MB, free: 2.727 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2966, allocations: 192 / 358.7 MB, free: 2.727 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006641/0.2972, allocations: 0.6624 MB / 359.4 MB, free: 2.012 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.2978, allocations: 113.8 kB / 359.5 MB, free: 1.902 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.2998, allocations: 1.122 MB / 360.6 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.3003, allocations: 0.867 MB / 361.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002258/0.3005, allocations: 52.16 kB / 361.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.3006, allocations: 35.42 kB / 361.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3006, allocations: 3.938 kB / 361.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of Templates: time 0.01457/0.3152, allocations: 8.401 MB / 370 MB, free: 7.355 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1)