Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001179, allocations: 108 kB / 18.35 MB, free: 4.793 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 192.2 kB / 19.29 MB, free: 3.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 47.94 kB / 282.1 MB, free: 2.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08817/0.0895, allocations: 46.62 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.004773/0.0943, allocations: 3.905 MB / 332.6 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.09591, allocations: 1.018 MB / 333.6 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.09611, allocations: 7.938 kB / 333.7 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002224/0.09635, allocations: 87.14 kB / 333.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.09665, allocations: 170.5 kB / 333.9 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.09706, allocations: 207.6 kB / 334.1 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006774/0.09775, allocations: 0.7512 MB / 334.9 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002708/0.09804, allocations: 176.9 kB / 335 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003303/0.09837, allocations: 299 kB / 335.3 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003681/0.09875, allocations: 334.7 kB / 335.7 MB, free: 12.78 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.09887, allocations: 76 kB / 335.7 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.09899, allocations: 76 kB / 335.8 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.09911, allocations: 147.5 kB / 335.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002694/0.09939, allocations: 318.5 kB / 336.3 MB, free: 12.17 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006511/0.1, allocations: 0.7944 MB / 337 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1001, allocations: 0 / 337 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1001, allocations: 0 / 337 MB, free: 11.38 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1001, allocations: 4 kB / 337.1 MB, free: 11.37 MB / 286.1 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.002401/0.1025, allocations: 0.9758 MB / 338 MB, free: 10.34 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.1025, allocations: 8.031 kB / 338 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.1027, allocations: 56.28 kB / 338.1 MB, free: 10.28 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005911/0.1033, allocations: 402 kB / 338.5 MB, free: 9.844 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.1033, allocations: 29.38 kB / 338.5 MB, free: 9.816 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.087e-05/0.1034, allocations: 52.09 kB / 338.6 MB, free: 9.766 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.1047, allocations: 0.5591 MB / 339.1 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1048, allocations: 0 / 339.1 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.946e-05/0.1048, allocations: 12 kB / 339.1 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.1048, allocations: 8 kB / 339.1 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.1066, allocations: 0.5777 MB / 339.7 MB, free: 8.586 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003341/0.1099, allocations: 2.004 MB / 341.7 MB, free: 6.48 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003599/0.1135, allocations: 0.7877 MB / 342.5 MB, free: 5.684 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009346/0.1145, allocations: 361.3 kB / 342.9 MB, free: 5.328 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.506e-05/0.1145, allocations: 11.98 kB / 342.9 MB, free: 5.316 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.1156, allocations: 411.3 kB / 343.3 MB, free: 4.898 MB / 286.1 MB Notification: Performance of pre-optimization done (n=39): time 4.458e-06/0.1156, allocations: 0 / 343.3 MB, free: 4.898 MB / 286.1 MB Notification: Performance of matching and sorting (n=39): time 0.009257/0.1249, allocations: 1.798 MB / 345.1 MB, free: 3.07 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.125, allocations: 85.05 kB / 345.2 MB, free: 2.969 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004819/0.1255, allocations: 385.7 kB / 345.5 MB, free: 2.586 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/0.1255, allocations: 33.7 kB / 345.6 MB, free: 2.547 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.1257, allocations: 220.6 kB / 345.8 MB, free: 2.324 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.1258, allocations: 134.1 kB / 345.9 MB, free: 2.191 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.126, allocations: 74.06 kB / 346 MB, free: 2.109 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1261, allocations: 350.8 kB / 346.3 MB, free: 1.758 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008272/0.127, allocations: 264.6 kB / 346.6 MB, free: 1.5 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008408/0.1278, allocations: 321.8 kB / 346.9 MB, free: 1.176 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/0.1294, allocations: 0.5368 MB / 347.4 MB, free: 0.625 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.1294, allocations: 0 / 347.4 MB, free: 0.625 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.004454/0.1339, allocations: 1.056 MB / 348.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.603e-05/0.1339, allocations: 33.69 kB / 348.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.134, allocations: 0 / 348.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.1352, allocations: 393.8 kB / 348.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/0.1356, allocations: 91.86 kB / 349 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00821/0.1438, allocations: 3.66 MB / 352.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006888/0.1446, allocations: 87.66 kB / 352.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-05/0.1446, allocations: 15.98 kB / 352.8 MB, free: 11.14 MB / 302.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 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.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.0002895/0.1449, allocations: 167.1 kB / 352.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.948e-05/0.145, allocations: 47.38 kB / 353 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.1452, allocations: 56.38 kB / 353 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.1452, allocations: 7.984 kB / 353 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1452, allocations: 0 / 353 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.1454, allocations: 164.5 kB / 353.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.107e-05/0.1455, allocations: 8 kB / 353.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000504/0.146, allocations: 63.92 kB / 353.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.1461, allocations: 44.02 kB / 353.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003868/0.15, allocations: 1.063 MB / 354.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002589/0.1526, allocations: 1.086 MB / 355.5 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008264/0.1534, allocations: 292.3 kB / 355.7 MB, free: 8.102 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002706/0.1537, allocations: 271.2 kB / 356 MB, free: 7.836 MB / 302.1 MB Notification: Performance of Backend: time 6.11e-07/0.1537, allocations: 0 / 356 MB, free: 7.836 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001953/0.1557, allocations: 0.6991 MB / 356.7 MB, free: 7.105 MB / 302.1 MB Notification: Performance of SimCode: time 0.001671/0.1574, allocations: 1.493 MB / 358.2 MB, free: 5.559 MB / 302.1 MB Notification: Performance of Templates: time 0.01641/0.1738, allocations: 11.34 MB / 369.5 MB, free: 10.22 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1)