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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001003/0.001003, allocations: 179.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.186/1.186, allocations: 194.5 MB / 211.6 MB, free: 3.039 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001544/0.001544, allocations: 107.8 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003193, allocations: 19.98 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0829/0.08324, allocations: 44.49 MB / 355.1 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2307/0.314, allocations: 74.83 MB / 429.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001761/0.3142, allocations: 71.78 kB / 430 MB, free: 14.67 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01504/0.3293, allocations: 7.025 MB / 437 MB, free: 8.746 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3293, allocations: 0 / 437 MB, free: 8.746 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.3293, allocations: 8 kB / 437 MB, free: 8.738 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.0009545/0.3303, allocations: 0.7674 MB / 437.8 MB, free: 7.949 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3303, allocations: 12.03 kB / 437.8 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.586e-05/0.3304, allocations: 56.38 kB / 437.8 MB, free: 7.883 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.3308, allocations: 316.5 kB / 438.1 MB, free: 7.562 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.3308, allocations: 31.19 kB / 438.2 MB, free: 7.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.3309, allocations: 41.73 kB / 438.2 MB, free: 7.516 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005456/0.3314, allocations: 419.3 kB / 438.6 MB, free: 7.207 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3314, allocations: 0 / 438.6 MB, free: 7.207 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.3315, allocations: 15.81 kB / 438.6 MB, free: 7.203 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.3315, allocations: 12 kB / 438.6 MB, free: 7.191 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004413/0.3319, allocations: 308.1 kB / 438.9 MB, free: 6.988 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.3336, allocations: 1.643 MB / 440.6 MB, free: 5.516 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.3341, allocations: 333 kB / 440.9 MB, free: 5.316 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3341, allocations: 4.281 kB / 440.9 MB, free: 5.312 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003302/0.3345, allocations: 288.2 kB / 441.2 MB, free: 5.055 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 1.443e-06/0.3345, allocations: 0 / 441.2 MB, free: 5.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.001907/0.3364, allocations: 1.123 MB / 442.3 MB, free: 3.973 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.479e-05/0.3365, allocations: 224.5 kB / 442.5 MB, free: 3.707 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.3368, allocations: 288.1 kB / 442.8 MB, free: 3.473 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.3369, allocations: 39.52 kB / 442.9 MB, free: 3.434 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.337, allocations: 214.5 kB / 443.1 MB, free: 3.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.402e-05/0.3371, allocations: 113.4 kB / 443.2 MB, free: 3.176 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/0.3371, allocations: 7.375 kB / 443.2 MB, free: 3.172 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.401e-05/0.3371, allocations: 351 kB / 443.5 MB, free: 2.836 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.3373, allocations: 118.4 kB / 443.6 MB, free: 2.762 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.3376, allocations: 192.6 kB / 443.8 MB, free: 2.602 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.3378, allocations: 176.4 kB / 444 MB, free: 2.469 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3378, allocations: 3.938 kB / 444 MB, free: 2.465 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006257/0.3384, allocations: 0.518 MB / 444.5 MB, free: 2.047 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.3385, allocations: 59.41 kB / 444.6 MB, free: 1.977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3385, allocations: 0 / 444.6 MB, free: 1.977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004711/0.3389, allocations: 163.1 kB / 444.7 MB, free: 1.848 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.3391, allocations: 35.98 kB / 444.8 MB, free: 1.812 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004112/0.3432, allocations: 5.997 MB / 450.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.3436, allocations: 55.73 kB / 450.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.3436, allocations: 13.31 kB / 450.8 MB, free: 11.36 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealGTOThyristor1.off,$PRE.booleanStep1.y,booleanStep1.y,$PRE.booleanStep1.nextTime,booleanStep1.nextTime,$PRE.booleanStep1.index,booleanStep1.index,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * 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.0002351/0.3439, allocations: 197.2 kB / 451 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.3439, allocations: 43.52 kB / 451.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.018e-05/0.344, allocations: 48.06 kB / 451.1 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.344, allocations: 4 kB / 451.1 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3441, allocations: 4 kB / 451.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.3441, allocations: 3.953 kB / 451.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.3445, allocations: 441.1 kB / 451.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3445, allocations: 0 / 451.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.3446, allocations: 23.98 kB / 451.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003934/0.345, allocations: 156.7 kB / 451.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.3451, allocations: 12 kB / 451.8 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004278/0.3494, allocations: 5.837 MB / 457.6 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/0.3494, allocations: 7.969 kB / 457.6 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009185/0.3503, allocations: 0.5433 MB / 458.1 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.3505, allocations: 144.5 kB / 458.3 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.524e-05/0.3506, allocations: 15.94 kB / 458.3 MB, free: 3.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.3508, allocations: 35.97 kB / 458.3 MB, free: 3.211 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.351, allocations: 61.92 kB / 458.4 MB, free: 3.152 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.351, allocations: 15.98 kB / 458.4 MB, free: 3.137 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002176/0.3512, allocations: 227.2 kB / 458.6 MB, free: 2.922 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3512, allocations: 0 / 458.6 MB, free: 2.922 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000702/0.3519, allocations: 159.8 kB / 458.8 MB, free: 2.766 MB / 330.7 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,IdealGTOThyristor1.off,booleanStep1.y,booleanStep1.nextTime,booleanStep1.index,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,booleanPulse.pulsStart) * Number of discrete states: 6 (IdealThyristor1.off,booleanStep1.y,booleanStep1.nextTime,booleanStep1.index,$whenCondition1,IdealThyristor2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.000258/0.3522, allocations: 139.2 kB / 458.9 MB, free: 2.621 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.3533, allocations: 0.9206 MB / 459.8 MB, free: 1.621 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3534, allocations: 0 / 459.8 MB, free: 1.621 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006978/0.3541, allocations: 0.7167 MB / 460.6 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.3545, allocations: 71.33 kB / 460.6 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.3561, allocations: 0.9527 MB / 461.6 MB, free: 15.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.3565, allocations: 0.8277 MB / 462.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.3566, allocations: 31.28 kB / 462.4 MB, free: 14.92 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.3567, allocations: 19.44 kB / 462.5 MB, free: 14.9 MB / 346.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3567, allocations: 8 kB / 462.5 MB, free: 14.89 MB / 346.7 MB Notification: Performance of Templates: time 0.01242/0.3691, allocations: 7.07 MB / 469.5 MB, free: 7.914 MB / 346.7 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)