Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001592/0.001592, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00205/0.00205, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.427/1.427, allocations: 230.4 MB / 258.1 MB, free: 8.141 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=2000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 71.84 kB / 378.8 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2385, allocations: 53.31 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.005459/0.2439, allocations: 4.139 MB / 436.2 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.2457, allocations: 1.071 MB / 437.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.2459, allocations: 7.938 kB / 437.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.2461, allocations: 87.14 kB / 437.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.2465, allocations: 182.5 kB / 437.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.2469, allocations: 239.6 kB / 437.8 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000849/0.2478, allocations: 0.8211 MB / 438.6 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.248, allocations: 118.5 kB / 438.7 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00042/0.2484, allocations: 318.9 kB / 439 MB, free: 404 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004566/0.2489, allocations: 358.7 kB / 439.4 MB, free: 44 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.249, allocations: 84.05 kB / 439.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.2492, allocations: 95.88 kB / 439.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.2493, allocations: 159.4 kB / 439.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003161/0.2496, allocations: 338.5 kB / 440 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008918/0.2505, allocations: 0.8602 MB / 440.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2505, allocations: 4 kB / 440.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2505, allocations: 3.938 kB / 440.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.2505, allocations: 0 / 440.9 MB, free: 14.51 MB / 350.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.002741/0.2533, allocations: 1.045 MB / 442 MB, free: 13.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2533, allocations: 8.031 kB / 442 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.2535, allocations: 76.55 kB / 442 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006293/0.2542, allocations: 430.3 kB / 442.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.2542, allocations: 25.38 kB / 442.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-05/0.2543, allocations: 36.38 kB / 442.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.2558, allocations: 0.611 MB / 443.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.2558, allocations: 0 / 443.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-05/0.2559, allocations: 15.98 kB / 443.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.2559, allocations: 8 kB / 443.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/0.258, allocations: 0.6401 MB / 443.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003936/0.2619, allocations: 2.173 MB / 446 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003927/0.2658, allocations: 0.8237 MB / 446.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.2669, allocations: 369.3 kB / 447.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.2669, allocations: 12.25 kB / 447.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001198/0.2681, allocations: 434.7 kB / 447.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.335e-06/0.2681, allocations: 0 / 447.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.01454/0.2827, allocations: 2.375 MB / 450 MB, free: 5.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/0.2827, allocations: 89.09 kB / 450.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005235/0.2833, allocations: 413.9 kB / 450.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-05/0.2833, allocations: 33.7 kB / 450.5 MB, free: 4.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.2835, allocations: 236.9 kB / 450.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.2837, allocations: 142.8 kB / 450.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.2838, allocations: 70.06 kB / 450.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.284, allocations: 362.7 kB / 451.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.285, allocations: 304.5 kB / 451.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.286, allocations: 338 kB / 451.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.2879, allocations: 0.5952 MB / 452.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2879, allocations: 0 / 452.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003743/0.2917, allocations: 1.002 MB / 453.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/0.2917, allocations: 33.7 kB / 453.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2917, allocations: 0 / 453.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/0.2931, allocations: 428.5 kB / 454 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005086/0.2936, allocations: 95.84 kB / 454.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008934/0.3025, allocations: 3.816 MB / 457.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000718/0.3032, allocations: 99.69 kB / 458 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.3033, allocations: 15.98 kB / 458 MB, free: 12.93 MB / 366.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.0002796/0.3036, allocations: 174.2 kB / 458.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-05/0.3037, allocations: 51.67 kB / 458.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.3038, allocations: 56.52 kB / 458.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.3038, allocations: 4 kB / 458.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3038, allocations: 4 kB / 458.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.3041, allocations: 180.7 kB / 458.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.248e-05/0.3042, allocations: 4 kB / 458.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006014/0.3048, allocations: 79.84 kB / 458.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.3049, allocations: 43.94 kB / 458.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004524/0.3094, allocations: 1.154 MB / 459.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003142/0.3125, allocations: 1.195 MB / 460.9 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009646/0.3135, allocations: 307.8 kB / 461.2 MB, free: 9.633 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003547/0.3139, allocations: 299.1 kB / 461.5 MB, free: 9.34 MB / 366.1 MB Notification: Performance of Backend: time 4.5e-07/0.3139, allocations: 0 / 461.5 MB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002313/0.3162, allocations: 0.7339 MB / 462.2 MB, free: 8.574 MB / 366.1 MB Notification: Performance of SimCode: time 0.001909/0.3181, allocations: 1.548 MB / 463.8 MB, free: 6.988 MB / 366.1 MB Notification: Performance of Templates: time 0.02064/0.3387, allocations: 12.65 MB / 476.4 MB, free: 10.42 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 16.744040238205343] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 0.34727067640051246 0.36094713900000003 0.107438 Calling exit ...