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.001321/0.001321, allocations: 183.8 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.375/1.375, allocations: 194.4 MB / 203.1 MB, free: 13.02 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.001716/0.001716, allocations: 108.7 kB / 248.1 MB, free: 36 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.626e-05/1.628e-05, allocations: 4 kB / 298.1 MB, free: 35.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07623/0.07626, allocations: 44.52 MB / 342.6 MB, free: 6.996 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.288/0.3644, allocations: 74.08 MB / 416.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/0.3646, allocations: 74 kB / 416.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01583/0.3804, allocations: 6.949 MB / 423.7 MB, free: 9.262 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.3805, allocations: 0 / 423.7 MB, free: 9.262 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.3805, allocations: 15.28 kB / 423.7 MB, free: 9.262 MB / 298.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.0008836/0.3814, allocations: 0.715 MB / 424.4 MB, free: 8.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.3814, allocations: 7.875 kB / 424.4 MB, free: 8.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.485e-05/0.3815, allocations: 54 kB / 424.5 MB, free: 8.656 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.3818, allocations: 317.9 kB / 424.8 MB, free: 8.387 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.3819, allocations: 11.53 kB / 424.8 MB, free: 8.387 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/0.3819, allocations: 30.14 kB / 424.8 MB, free: 8.383 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004096/0.3823, allocations: 258.8 kB / 425.1 MB, free: 8.367 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.3828, allocations: 348.1 kB / 425.4 MB, free: 8.242 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.3828, allocations: 0 / 425.4 MB, free: 8.242 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.3829, allocations: 0 / 425.4 MB, free: 8.242 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.3829, allocations: 15.56 kB / 425.4 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.3847, allocations: 1.567 MB / 427 MB, free: 7.184 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.3851, allocations: 308 kB / 427.3 MB, free: 7.145 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.3853, allocations: 168.8 kB / 427.5 MB, free: 7.133 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.3853, allocations: 8.078 kB / 427.5 MB, free: 7.129 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002759/0.3856, allocations: 258.6 kB / 427.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 1.663e-06/0.3856, allocations: 0 / 427.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.000719/0.3863, allocations: 419.5 kB / 428.1 MB, free: 6.844 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.3864, allocations: 224.4 kB / 428.3 MB, free: 6.586 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.3866, allocations: 245.1 kB / 428.6 MB, free: 6.469 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.3866, allocations: 29.55 kB / 428.6 MB, free: 6.438 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.117e-05/0.3867, allocations: 218.3 kB / 428.8 MB, free: 6.285 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/0.3868, allocations: 110.6 kB / 428.9 MB, free: 6.207 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.79e-05/0.3868, allocations: 0 / 428.9 MB, free: 6.207 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.88e-05/0.3869, allocations: 343.9 kB / 429.3 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.387, allocations: 99.84 kB / 429.4 MB, free: 5.883 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.3872, allocations: 166.9 kB / 429.5 MB, free: 5.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.3874, allocations: 113.9 kB / 429.6 MB, free: 5.793 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3874, allocations: 0 / 429.6 MB, free: 5.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005377/0.388, allocations: 420.9 kB / 430.1 MB, free: 5.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.388, allocations: 59.14 kB / 430.1 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.388, allocations: 3.719 kB / 430.1 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004107/0.3884, allocations: 148.2 kB / 430.3 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.3886, allocations: 42 kB / 430.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003855/0.3925, allocations: 5.74 MB / 436 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.3928, allocations: 42.97 kB / 436.1 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.3928, allocations: 14.25 kB / 436.1 MB, free: 16.2 MB / 314.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 () * 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.0001395/0.393, allocations: 162.8 kB / 436.3 MB, free: 16.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.393, allocations: 42.03 kB / 436.3 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.539e-05/0.3931, allocations: 46.61 kB / 436.3 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3931, allocations: 3.844 kB / 436.3 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.3931, allocations: 0 / 436.3 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3932, allocations: 0 / 436.3 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.3935, allocations: 380.4 kB / 436.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3935, allocations: 0 / 436.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.3936, allocations: 27.31 kB / 436.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003153/0.3939, allocations: 158.6 kB / 436.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.394, allocations: 3.875 kB / 436.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003889/0.3979, allocations: 5.551 MB / 442.5 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3979, allocations: 0 / 442.5 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/0.3986, allocations: 472.5 kB / 442.9 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.3988, allocations: 143.2 kB / 443.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.041e-05/0.3988, allocations: 3.844 kB / 443.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/0.3991, allocations: 34.77 kB / 443.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.3993, allocations: 56.47 kB / 443.1 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.3993, allocations: 11.44 kB / 443.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001644/0.3995, allocations: 194.6 kB / 443.3 MB, free: 10.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.3995, allocations: 0 / 443.3 MB, free: 10.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007411/0.4002, allocations: 154.2 kB / 443.5 MB, free: 10.07 MB / 314.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) * 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.0002166/0.4005, allocations: 142 kB / 443.6 MB, free: 9.965 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008997/0.4014, allocations: 0.8336 MB / 444.5 MB, free: 9.383 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4014, allocations: 0 / 444.5 MB, free: 9.383 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005225/0.4019, allocations: 0.6742 MB / 445.1 MB, free: 8.863 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.4022, allocations: 57.44 kB / 445.2 MB, free: 8.844 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.4034, allocations: 0.5343 MB / 445.7 MB, free: 8.586 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.4038, allocations: 0.8363 MB / 446.6 MB, free: 7.812 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.4039, allocations: 22.83 kB / 446.6 MB, free: 7.801 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.404, allocations: 22.19 kB / 446.6 MB, free: 7.793 MB / 314.7 MB Notification: Performance of SimCode: time 2.61e-07/0.404, allocations: 3.844 kB / 446.6 MB, free: 7.793 MB / 314.7 MB Notification: Performance of Templates: time 0.01043/0.4144, allocations: 6.318 MB / 452.9 MB, free: 4.598 MB / 314.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)