Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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.SimpleTriacCircuit,tolerance=1e-12,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,tolerance=1e-12,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009553/0.009553, allocations: 165.6 kB / 15.11 MB, free: 5.973 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.293/1.293, allocations: 170.8 MB / 186.6 MB, free: 1.023 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.001899/0.001899, allocations: 117.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003187/0.0003187, allocations: 8 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1973, allocations: 38.76 MB / 312.9 MB, free: 38.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0889/0.2863, allocations: 70.95 MB / 383.8 MB, free: 3.562 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.2866, allocations: 71.95 kB / 383.9 MB, free: 3.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02452/0.3111, allocations: 8.303 MB / 392.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3112, allocations: 384 / 392.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.348e-05/0.3112, allocations: 8 kB / 392.2 MB, free: 11.16 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.002141/0.3134, allocations: 0.9104 MB / 393.1 MB, free: 10.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3134, allocations: 19.97 kB / 393.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.3135, allocations: 55.34 kB / 393.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005363/0.3141, allocations: 369 kB / 393.6 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.067e-05/0.3141, allocations: 32.95 kB / 393.6 MB, free: 9.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.122e-05/0.3142, allocations: 32 kB / 393.6 MB, free: 9.648 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.3155, allocations: 0.5943 MB / 394.2 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3155, allocations: 3.938 kB / 394.2 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.923e-05/0.3156, allocations: 12 kB / 394.2 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.3156, allocations: 12 kB / 394.3 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.3176, allocations: 0.6402 MB / 394.9 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003553/0.3212, allocations: 2.043 MB / 396.9 MB, free: 6.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004273/0.3254, allocations: 0.9529 MB / 397.9 MB, free: 5.266 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.3255, allocations: 15.97 kB / 397.9 MB, free: 5.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.3266, allocations: 427.8 kB / 398.3 MB, free: 4.816 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 3.116e-06/0.3266, allocations: 0 / 398.3 MB, free: 4.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.00919/0.3358, allocations: 1.974 MB / 400.3 MB, free: 2.812 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.3359, allocations: 85.06 kB / 400.4 MB, free: 2.711 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004348/0.3363, allocations: 332.7 kB / 400.7 MB, free: 2.379 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.3e-05/0.3364, allocations: 37.7 kB / 400.7 MB, free: 2.336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.3366, allocations: 224.2 kB / 401 MB, free: 2.113 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.3367, allocations: 130.1 kB / 401.1 MB, free: 1.984 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.3368, allocations: 8 kB / 401.1 MB, free: 1.977 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3369, allocations: 350.8 kB / 401.4 MB, free: 1.625 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008428/0.3378, allocations: 304.6 kB / 401.7 MB, free: 1.324 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008468/0.3386, allocations: 342.1 kB / 402.1 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008446/0.3395, allocations: 327.5 kB / 402.4 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3395, allocations: 4 kB / 402.4 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002359/0.3419, allocations: 0.9131 MB / 403.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/0.3419, allocations: 33.69 kB / 403.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.342, allocations: 0 / 403.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.3431, allocations: 423.7 kB / 403.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/0.3436, allocations: 99.86 kB / 403.9 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009007/0.3526, allocations: 3.608 MB / 407.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008484/0.3535, allocations: 103.7 kB / 407.6 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/0.3536, allocations: 16 kB / 407.6 MB, free: 11.31 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002975/0.3539, allocations: 165.8 kB / 407.7 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.822e-05/0.354, allocations: 55.42 kB / 407.8 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.3541, allocations: 48.38 kB / 407.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3541, allocations: 4 kB / 407.8 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3541, allocations: 0 / 407.8 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3541, allocations: 0 / 407.8 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006327/0.3548, allocations: 0.5833 MB / 408.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3548, allocations: 4 kB / 408.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004504/0.3552, allocations: 87.92 kB / 408.5 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/0.3563, allocations: 424.3 kB / 408.9 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.394e-05/0.3564, allocations: 12 kB / 408.9 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008498/0.3649, allocations: 3.597 MB / 412.5 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3649, allocations: 0 / 412.5 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003336/0.3683, allocations: 1.287 MB / 413.8 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/0.3686, allocations: 168.7 kB / 414 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-05/0.3686, allocations: 15.94 kB / 414 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006845/0.3693, allocations: 83.92 kB / 414.1 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.3695, allocations: 51.86 kB / 414.1 MB, free: 4.508 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.003e-05/0.3696, allocations: 19.98 kB / 414.2 MB, free: 4.488 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000292/0.3699, allocations: 259.2 kB / 414.4 MB, free: 4.242 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3699, allocations: 0 / 414.4 MB, free: 4.242 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006262/0.3705, allocations: 163.8 kB / 414.6 MB, free: 4.082 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,simpleTriac.thyristor.vControl,simpleTriac.thyristor1.vControl) * Number of discrete variables: 5 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002168/0.3707, allocations: 121.4 kB / 414.7 MB, free: 3.953 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002509/0.3732, allocations: 0.9402 MB / 415.6 MB, free: 2.988 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3733, allocations: 0 / 415.6 MB, free: 2.988 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001471/0.3747, allocations: 0.5744 MB / 416.2 MB, free: 2.402 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.3752, allocations: 66.16 kB / 416.3 MB, free: 2.336 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.3784, allocations: 1.278 MB / 417.5 MB, free: 1.043 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.3788, allocations: 0.8397 MB / 418.4 MB, free: 184 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002636/0.3791, allocations: 39.27 kB / 418.4 MB, free: 140 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.386e-05/0.3792, allocations: 31.44 kB / 418.5 MB, free: 108 kB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.3792, allocations: 0 / 418.5 MB, free: 108 kB / 314.7 MB Notification: Performance of Templates: time 0.1458/0.525, allocations: 10.52 MB / 429 MB, free: 87.25 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1)