Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.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.IdealTriacCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001153/0.001153, allocations: 179.6 kB / 16.38 MB, free: 5.762 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.128/1.128, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001586/0.001586, allocations: 116.4 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002754/0.0002754, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07866/0.07895, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2334/0.3124, allocations: 74.08 MB / 429.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.3127, allocations: 71.7 kB / 429.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01075/0.3234, allocations: 4.923 MB / 434.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.277e-06/0.3235, allocations: 1.969 kB / 434.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.3235, allocations: 15.05 kB / 434.1 MB, free: 11.33 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0007918/0.3243, allocations: 0.5717 MB / 434.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.3244, allocations: 8.031 kB / 434.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.102e-05/0.3244, allocations: 32.66 kB / 434.8 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.3247, allocations: 281.4 kB / 435 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.3248, allocations: 15.44 kB / 435 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.3248, allocations: 27.5 kB / 435.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.3252, allocations: 291.1 kB / 435.4 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3253, allocations: 0 / 435.4 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.3253, allocations: 11.56 kB / 435.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.3253, allocations: 4 kB / 435.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.3256, allocations: 207.2 kB / 435.6 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.3269, allocations: 1.157 MB / 436.7 MB, free: 9.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004177/0.3274, allocations: 219.1 kB / 436.9 MB, free: 8.879 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.3274, allocations: 4.188 kB / 437 MB, free: 8.875 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002817/0.3277, allocations: 162.1 kB / 437.1 MB, free: 8.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.3277, allocations: 3.938 kB / 437.1 MB, free: 8.727 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.001182/0.3289, allocations: 0.5273 MB / 437.6 MB, free: 8.273 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.3289, allocations: 106.8 kB / 437.7 MB, free: 8.145 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.3291, allocations: 220.8 kB / 438 MB, free: 7.957 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.3292, allocations: 30.08 kB / 438 MB, free: 7.926 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.3292, allocations: 162.2 kB / 438.1 MB, free: 7.793 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.3293, allocations: 73.8 kB / 438.2 MB, free: 7.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/0.3293, allocations: 3.062 kB / 438.2 MB, free: 7.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.43e-05/0.3294, allocations: 333.2 kB / 438.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.3295, allocations: 79.97 kB / 438.6 MB, free: 7.355 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.3296, allocations: 124.7 kB / 438.8 MB, free: 7.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.3298, allocations: 77.5 kB / 438.8 MB, free: 7.207 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3298, allocations: 4.031 kB / 438.8 MB, free: 7.203 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003971/0.3302, allocations: 296.7 kB / 439.1 MB, free: 6.992 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3302, allocations: 4 kB / 439.1 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3302, allocations: 3.984 kB / 439.1 MB, free: 6.984 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002996/0.3305, allocations: 90.38 kB / 439.2 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.3307, allocations: 38.86 kB / 439.3 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/0.3323, allocations: 1.966 MB / 441.2 MB, free: 5.102 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.3325, allocations: 35.27 kB / 441.3 MB, free: 5.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.3325, allocations: 4 kB / 441.3 MB, free: 5.066 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: 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.3327, allocations: 149.8 kB / 441.4 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.3327, allocations: 23.56 kB / 441.4 MB, free: 4.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.164e-05/0.3328, allocations: 32.48 kB / 441.5 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3328, allocations: 0 / 441.5 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.3328, allocations: 0 / 441.5 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3328, allocations: 7.953 kB / 441.5 MB, free: 4.883 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.3331, allocations: 350.3 kB / 441.8 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3331, allocations: 3.812 kB / 441.8 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.3332, allocations: 27.98 kB / 441.8 MB, free: 4.535 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/0.3334, allocations: 87.42 kB / 441.9 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.3334, allocations: 3.438 kB / 441.9 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/0.335, allocations: 1.971 MB / 443.9 MB, free: 2.684 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.335, allocations: 0 / 443.9 MB, free: 2.684 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006163/0.3356, allocations: 424.1 kB / 444.3 MB, free: 2.316 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.371e-05/0.3357, allocations: 124.8 kB / 444.4 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.3357, allocations: 4 kB / 444.4 MB, free: 2.172 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.3359, allocations: 28.05 kB / 444.5 MB, free: 2.145 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.101e-05/0.336, allocations: 35.89 kB / 444.5 MB, free: 2.109 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.336, allocations: 8 kB / 444.5 MB, free: 2.102 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001113/0.3361, allocations: 172.5 kB / 444.7 MB, free: 1.934 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3361, allocations: 0 / 444.7 MB, free: 1.934 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000367/0.3365, allocations: 95.75 kB / 444.8 MB, free: 1.84 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Number of clocked states: 0 () * 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.0001397/0.3367, allocations: 113.6 kB / 444.9 MB, free: 1.719 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005544/0.3372, allocations: 357.5 kB / 445.2 MB, free: 1.359 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3372, allocations: 0 / 445.2 MB, free: 1.359 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.3375, allocations: 278.1 kB / 445.5 MB, free: 1.078 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.3378, allocations: 53.8 kB / 445.6 MB, free: 1.031 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009246/0.3388, allocations: 0.7274 MB / 446.3 MB, free: 292 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.3391, allocations: 0.7677 MB / 447.1 MB, free: 15.49 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000106/0.3392, allocations: 22.28 kB / 447.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.3393, allocations: 20.28 kB / 447.1 MB, free: 15.45 MB / 330.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3393, allocations: 0 / 447.1 MB, free: 15.45 MB / 330.7 MB Notification: Performance of Templates: time 0.007785/0.3471, allocations: 4.3 MB / 451.4 MB, free: 11.23 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1)