Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001538/0.001538, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002114/0.002114, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 63.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3887, allocations: 50.53 MB / 410 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.005424/0.3942, allocations: 4.096 MB / 414 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.396, allocations: 1.067 MB / 415.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.3962, allocations: 7.938 kB / 415.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.3964, allocations: 91.12 kB / 415.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.3968, allocations: 178.5 kB / 415.4 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005099/0.3973, allocations: 231.6 kB / 415.6 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000815/0.3981, allocations: 0.8173 MB / 416.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003263/0.3984, allocations: 172.9 kB / 416.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004475/0.3989, allocations: 315 kB / 416.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004325/0.3993, allocations: 366.6 kB / 417.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.3995, allocations: 84 kB / 417.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.3996, allocations: 88 kB / 417.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.3998, allocations: 163.4 kB / 417.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003127/0.4001, allocations: 334.5 kB / 417.9 MB, free: 9.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007947/0.4009, allocations: 0.8617 MB / 418.8 MB, free: 8.672 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4009, allocations: 0 / 418.8 MB, free: 8.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4009, allocations: 0 / 418.8 MB, free: 8.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.4009, allocations: 0 / 418.8 MB, free: 8.672 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002697/0.4036, allocations: 1.034 MB / 419.8 MB, free: 7.578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.4037, allocations: 8.031 kB / 419.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/0.4039, allocations: 72.27 kB / 419.9 MB, free: 7.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.4046, allocations: 425.8 kB / 420.3 MB, free: 7.047 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.4046, allocations: 29.38 kB / 420.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-05/0.4047, allocations: 36.38 kB / 420.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.4061, allocations: 0.6071 MB / 421 MB, free: 6.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.4062, allocations: 0 / 421 MB, free: 6.348 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.369e-05/0.4062, allocations: 16 kB / 421 MB, free: 6.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.4062, allocations: 8 kB / 421 MB, free: 6.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.408, allocations: 0.6479 MB / 421.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003602/0.4117, allocations: 2.157 MB / 423.8 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003873/0.4155, allocations: 0.8549 MB / 424.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.4166, allocations: 405.2 kB / 425.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.4166, allocations: 8.312 kB / 425.1 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/0.4177, allocations: 426.7 kB / 425.5 MB, free: 1.715 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.405e-06/0.4177, allocations: 0 / 425.5 MB, free: 1.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.01498/0.4327, allocations: 2.39 MB / 427.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.4328, allocations: 89.11 kB / 428 MB, free: 15.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005415/0.4334, allocations: 425.8 kB / 428.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.179e-05/0.4335, allocations: 33.7 kB / 428.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.4336, allocations: 232.7 kB / 428.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.4338, allocations: 138 kB / 428.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.4339, allocations: 70.06 kB / 428.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4341, allocations: 358.7 kB / 429.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008688/0.435, allocations: 300.6 kB / 429.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009093/0.4359, allocations: 342 kB / 429.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.4376, allocations: 0.5952 MB / 430.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4376, allocations: 0 / 430.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003496/0.4411, allocations: 0.9978 MB / 431.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.4411, allocations: 40.66 kB / 431.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4412, allocations: 0 / 431.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/0.4424, allocations: 436.5 kB / 431.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.4429, allocations: 87.8 kB / 432 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008378/0.4513, allocations: 3.809 MB / 435.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007148/0.4521, allocations: 87.7 kB / 435.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/0.4521, allocations: 19.98 kB / 435.9 MB, free: 7.059 MB / 350.1 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 (trapezoidCurrent.signalSource.count,$PRE.trapezoidCurrent.signalSource.count,trapezoidCurrent.signalSource.T_start,$PRE.trapezoidCurrent.signalSource.T_start,simpleTriac.idealDiode1.off,simpleTriac.idealDiode.off,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002718/0.4524, allocations: 181.7 kB / 436.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-05/0.4525, allocations: 47.44 kB / 436.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.4526, allocations: 52.53 kB / 436.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4526, allocations: 3.984 kB / 436.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4526, allocations: 0 / 436.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.4529, allocations: 180.4 kB / 436.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.4529, allocations: 12 kB / 436.3 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005823/0.4535, allocations: 75.84 kB / 436.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.4537, allocations: 35.95 kB / 436.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004141/0.4578, allocations: 1.166 MB / 437.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003097/0.4609, allocations: 1.191 MB / 438.8 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008637/0.4618, allocations: 311.8 kB / 439.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003445/0.4622, allocations: 291.2 kB / 439.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of Backend: time 7.02e-07/0.4622, allocations: 4 kB / 439.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002389/0.4646, allocations: 0.7632 MB / 440.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of SimCode: time 0.001887/0.4665, allocations: 1.525 MB / 441.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of Templates: time 0.01994/0.4864, allocations: 12.35 MB / 454 MB, free: 4.828 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1)