Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.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.IdealTriacCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001367/0.001367, allocations: 169.8 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.209/1.209, allocations: 170.6 MB / 183.8 MB, free: 11.47 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.001564/0.001564, allocations: 103.5 kB / 223.2 MB, free: 4.105 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.598e-05/3.6e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07749/0.07755, allocations: 38.76 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2606/0.3382, allocations: 68.74 MB / 376.4 MB, free: 7.523 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.3385, allocations: 68.84 kB / 376.4 MB, free: 7.488 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01219/0.3507, allocations: 4.851 MB / 381.3 MB, free: 3.379 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3507, allocations: 0 / 381.3 MB, free: 3.379 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.3507, allocations: 8 kB / 381.3 MB, free: 3.371 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0007439/0.3515, allocations: 0.5372 MB / 381.8 MB, free: 2.809 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3515, allocations: 12.03 kB / 381.8 MB, free: 2.797 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.338e-05/0.3516, allocations: 35.56 kB / 381.9 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.3519, allocations: 262.2 kB / 382.1 MB, free: 2.492 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.352, allocations: 26.75 kB / 382.2 MB, free: 2.477 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.352, allocations: 26.7 kB / 382.2 MB, free: 2.457 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/0.3525, allocations: 274.8 kB / 382.4 MB, free: 2.254 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.3525, allocations: 0 / 382.4 MB, free: 2.254 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.3525, allocations: 12.56 kB / 382.5 MB, free: 2.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.3525, allocations: 8 kB / 382.5 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003357/0.3529, allocations: 190.2 kB / 382.7 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.3544, allocations: 1.149 MB / 383.8 MB, free: 1.117 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.3549, allocations: 206.4 kB / 384 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.3552, allocations: 145.7 kB / 384.1 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.3552, allocations: 8.141 kB / 384.2 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000255/0.3555, allocations: 160.9 kB / 384.3 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.3555, allocations: 0 / 384.3 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005413/0.3561, allocations: 267.2 kB / 384.6 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.604e-05/0.3561, allocations: 132.5 kB / 384.7 MB, free: 372 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.3564, allocations: 219.3 kB / 384.9 MB, free: 184 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.3564, allocations: 32.7 kB / 384.9 MB, free: 148 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3565, allocations: 170 kB / 385.1 MB, free: 4 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.593e-05/0.3566, allocations: 70.17 kB / 385.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.165e-05/0.3566, allocations: 3.25 kB / 385.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3567, allocations: 337.1 kB / 385.5 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.3569, allocations: 62.06 kB / 385.6 MB, free: 15.58 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.357, allocations: 119.1 kB / 385.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.3572, allocations: 72.55 kB / 385.8 MB, free: 15.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3572, allocations: 0 / 385.8 MB, free: 15.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004162/0.3576, allocations: 273.2 kB / 386 MB, free: 15.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3576, allocations: 7.562 kB / 386 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3576, allocations: 4 kB / 386 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003565/0.358, allocations: 99.48 kB / 386.1 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.3581, allocations: 34.58 kB / 386.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.3602, allocations: 1.972 MB / 388.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.3604, allocations: 34.91 kB / 388.2 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.3605, allocations: 14.86 kB / 388.2 MB, free: 13.28 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,$PRE.idealTriac.idealThyristor.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor1.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.3606, allocations: 119.4 kB / 388.3 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.3606, allocations: 27.78 kB / 388.3 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.738e-05/0.3607, allocations: 35.52 kB / 388.4 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3607, allocations: 0 / 388.4 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.3607, allocations: 4 kB / 388.4 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3607, allocations: 0 / 388.4 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009156/0.3617, allocations: 0.7887 MB / 389.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.3617, allocations: 0 / 389.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.3618, allocations: 24.12 kB / 389.2 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00023/0.362, allocations: 89.62 kB / 389.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.3621, allocations: 7.438 kB / 389.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.364, allocations: 1.942 MB / 391.2 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.364, allocations: 0 / 391.2 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005202/0.3646, allocations: 446.4 kB / 391.7 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.3647, allocations: 124.5 kB / 391.8 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.479e-05/0.3647, allocations: 11.64 kB / 391.8 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.3649, allocations: 27.98 kB / 391.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.164e-05/0.365, allocations: 31.75 kB / 391.8 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.3651, allocations: 7.375 kB / 391.9 MB, free: 10.01 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001478/0.3652, allocations: 175.8 kB / 392 MB, free: 9.863 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3652, allocations: 3.938 kB / 392 MB, free: 9.859 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004013/0.3656, allocations: 91.12 kB / 392.1 MB, free: 9.777 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealTriac.capacitor.v) * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,booleanPulse.pulsStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off) * Number of discrete states: 2 (idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001914/0.3658, allocations: 111.2 kB / 392.2 MB, free: 9.664 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006026/0.3664, allocations: 343.1 kB / 392.6 MB, free: 9.391 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.3665, allocations: 7.938 kB / 392.6 MB, free: 9.383 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003374/0.3668, allocations: 255.8 kB / 392.8 MB, free: 9.168 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.3671, allocations: 55.41 kB / 392.9 MB, free: 9.129 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006999/0.3678, allocations: 391.5 kB / 393.3 MB, free: 8.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.3682, allocations: 0.7716 MB / 394 MB, free: 7.973 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.478e-05/0.3683, allocations: 22.06 kB / 394 MB, free: 7.953 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.3683, allocations: 19.44 kB / 394.1 MB, free: 7.934 MB / 282.7 MB Notification: Performance of SimCode: time 2.114e-06/0.3683, allocations: 4 kB / 394.1 MB, free: 7.93 MB / 282.7 MB Notification: Performance of Templates: time 0.008017/0.3763, allocations: 4.29 MB / 398.4 MB, free: 3.656 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1)