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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001471/0.001471, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.375/1.375, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00151/0.001511, allocations: 99.5 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.801e-05/2.805e-05, allocations: 8 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06951/0.06955, allocations: 38.78 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2934/0.363, allocations: 69.68 MB / 377.3 MB, free: 6.617 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.3633, allocations: 72.14 kB / 377.4 MB, free: 6.578 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01898/0.3823, allocations: 6.986 MB / 384.4 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3823, allocations: 0 / 384.4 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.04e-05/0.3823, allocations: 12 kB / 384.4 MB, free: 0.5586 MB / 266.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.00112/0.3835, allocations: 0.7213 MB / 385.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3835, allocations: 8.031 kB / 385.1 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.3836, allocations: 59.33 kB / 385.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/0.3841, allocations: 310.7 kB / 385.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.3842, allocations: 26.22 kB / 385.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.773e-05/0.3842, allocations: 37.81 kB / 385.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006711/0.3849, allocations: 405.1 kB / 385.9 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3849, allocations: 4 kB / 385.9 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.385, allocations: 26.59 kB / 386 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.385, allocations: 12 kB / 386 MB, free: 15.06 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004584/0.3855, allocations: 280.3 kB / 386.2 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002273/0.3877, allocations: 1.64 MB / 387.9 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004888/0.3882, allocations: 331.1 kB / 388.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.3885, allocations: 181 kB / 388.4 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.3886, allocations: 8.266 kB / 388.4 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000393/0.389, allocations: 277.4 kB / 388.7 MB, free: 12.85 MB / 282.7 MB Notification: Performance of pre-optimization done (n=38): time 1.974e-06/0.389, allocations: 0 / 388.7 MB, free: 12.85 MB / 282.7 MB Notification: Performance of matching and sorting (n=38): time 0.0009546/0.3899, allocations: 482.8 kB / 389.1 MB, free: 12.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.3901, allocations: 225 kB / 389.4 MB, free: 12.2 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.3904, allocations: 287.5 kB / 389.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.3904, allocations: 40.44 kB / 389.7 MB, free: 11.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.3906, allocations: 212.4 kB / 389.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.767e-05/0.3907, allocations: 112.4 kB / 390 MB, free: 11.66 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/0.3907, allocations: 7.25 kB / 390 MB, free: 11.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3909, allocations: 345.4 kB / 390.3 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.3911, allocations: 113.2 kB / 390.4 MB, free: 11.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.3913, allocations: 173.8 kB / 390.6 MB, free: 11.11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.3916, allocations: 172.9 kB / 390.8 MB, free: 10.97 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3916, allocations: 4 kB / 390.8 MB, free: 10.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007305/0.3923, allocations: 0.5024 MB / 391.3 MB, free: 10.55 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.83e-05/0.3924, allocations: 66.25 kB / 391.4 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3924, allocations: 0 / 391.4 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005017/0.3929, allocations: 153.5 kB / 391.5 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.3931, allocations: 35.92 kB / 391.5 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004798/0.3979, allocations: 5.943 MB / 397.5 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.3983, allocations: 58.44 kB / 397.5 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.3984, allocations: 11.94 kB / 397.6 MB, free: 4.168 MB / 282.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.0002251/0.3986, allocations: 176.9 kB / 397.7 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/0.3987, allocations: 39.53 kB / 397.8 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.3988, allocations: 43.75 kB / 397.8 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.3988, allocations: 4 kB / 397.8 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3988, allocations: 0 / 397.8 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3988, allocations: 0 / 397.8 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.3993, allocations: 453.4 kB / 398.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3994, allocations: 0 / 398.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.3995, allocations: 27.92 kB / 398.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003916/0.3999, allocations: 153.2 kB / 398.4 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.3999, allocations: 15.73 kB / 398.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004494/0.4044, allocations: 5.776 MB / 404.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4044, allocations: 4.031 kB / 404.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008584/0.4053, allocations: 0.5256 MB / 404.8 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.4055, allocations: 146.7 kB / 404.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.4055, allocations: 11.69 kB / 404.9 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.4058, allocations: 35.59 kB / 404.9 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.406, allocations: 54.34 kB / 405 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.406, allocations: 15.38 kB / 405 MB, free: 12.76 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000229/0.4063, allocations: 227.6 kB / 405.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.4063, allocations: 0 / 405.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007695/0.407, allocations: 162.4 kB / 405.4 MB, free: 12.44 MB / 298.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.0002603/0.4073, allocations: 141.7 kB / 405.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.4084, allocations: 0.8869 MB / 406.4 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4085, allocations: 0 / 406.4 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006486/0.4091, allocations: 0.7046 MB / 407.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.4095, allocations: 76.86 kB / 407.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009262/0.4104, allocations: 0.4956 MB / 407.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.4109, allocations: 0.8394 MB / 408.5 MB, free: 9.41 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000128/0.411, allocations: 27.28 kB / 408.6 MB, free: 9.379 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.4111, allocations: 23.44 kB / 408.6 MB, free: 9.355 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4111, allocations: 0 / 408.6 MB, free: 9.355 MB / 298.7 MB Notification: Performance of Templates: time 0.01235/0.4235, allocations: 7.035 MB / 415.6 MB, free: 2.336 MB / 298.7 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)