Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002202/0.002202, allocations: 213.3 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 258.2 MB, free: 7.75 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 51.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2504, allocations: 53.36 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.005447/0.2559, allocations: 3.71 MB / 436.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.2577, allocations: 1.032 MB / 437.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.2579, allocations: 11.94 kB / 437.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.2581, allocations: 87.14 kB / 437.2 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.2585, allocations: 182.4 kB / 437.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.259, allocations: 239.6 kB / 437.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008364/0.2598, allocations: 0.8172 MB / 438.4 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.26, allocations: 121.4 kB / 438.5 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004203/0.2605, allocations: 327 kB / 438.8 MB, free: 184 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004348/0.2609, allocations: 362.5 kB / 439.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.261, allocations: 84 kB / 439.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.2612, allocations: 92 kB / 439.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.2613, allocations: 155.5 kB / 439.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.2616, allocations: 290.8 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009211/0.2625, allocations: 0.8638 MB / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2625, allocations: 0 / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2625, allocations: 3.938 kB / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.2625, allocations: 0 / 440.7 MB, free: 14.35 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.002847/0.2654, allocations: 0.974 MB / 441.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.2654, allocations: 12.03 kB / 441.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002553/0.2657, allocations: 76.55 kB / 441.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007001/0.2664, allocations: 364.4 kB / 442.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.2664, allocations: 29.36 kB / 442.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.285e-05/0.2665, allocations: 40.38 kB / 442.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.2681, allocations: 0.6283 MB / 442.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.2681, allocations: 0 / 442.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.78e-05/0.2682, allocations: 20 kB / 442.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.2682, allocations: 8 kB / 442.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.2702, allocations: 0.6362 MB / 443.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004079/0.2742, allocations: 1.905 MB / 445.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004006/0.2782, allocations: 0.8198 MB / 446.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.2793, allocations: 377.1 kB / 446.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.2793, allocations: 4.328 kB / 446.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001172/0.2805, allocations: 468.3 kB / 447 MB, free: 7.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.994e-06/0.2805, allocations: 0 / 447 MB, free: 7.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.01589/0.2964, allocations: 2.301 MB / 449.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/0.2965, allocations: 85.11 kB / 449.4 MB, free: 5.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005696/0.2971, allocations: 389.7 kB / 449.8 MB, free: 5.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.624e-05/0.2971, allocations: 37.7 kB / 449.8 MB, free: 4.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.2974, allocations: 244.7 kB / 450 MB, free: 4.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.2975, allocations: 138.8 kB / 450.2 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.2977, allocations: 74.06 kB / 450.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.2979, allocations: 358.7 kB / 450.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.299, allocations: 330.2 kB / 450.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.3, allocations: 393.5 kB / 451.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.3018, allocations: 0.5991 MB / 451.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3018, allocations: 0 / 451.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003921/0.3057, allocations: 1.015 MB / 452.9 MB, free: 1.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.3059, allocations: 37.7 kB / 453 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.3059, allocations: 0 / 453 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.3072, allocations: 440.4 kB / 453.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/0.3077, allocations: 91.86 kB / 453.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009471/0.3172, allocations: 3.622 MB / 457.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007209/0.3179, allocations: 83.77 kB / 457.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/0.318, allocations: 15.98 kB / 457.2 MB, free: 13.38 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.0002838/0.3182, allocations: 178.8 kB / 457.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.642e-05/0.3183, allocations: 47.72 kB / 457.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/0.3185, allocations: 56.41 kB / 457.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3185, allocations: 4 kB / 457.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.3185, allocations: 0 / 457.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3185, allocations: 0 / 457.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.3192, allocations: 437.1 kB / 457.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3192, allocations: 7.938 kB / 457.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/0.3197, allocations: 83.86 kB / 458 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001265/0.321, allocations: 436.6 kB / 458.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.537e-05/0.321, allocations: 7.938 kB / 458.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009204/0.3302, allocations: 3.612 MB / 462 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3302, allocations: 3.938 kB / 462.1 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006584/0.3368, allocations: 1.5 MB / 463.6 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.3371, allocations: 103.6 kB / 463.7 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.397e-05/0.3372, allocations: 4 kB / 463.7 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006211/0.3378, allocations: 75.91 kB / 463.7 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/0.338, allocations: 55.84 kB / 463.8 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.3381, allocations: 15.98 kB / 463.8 MB, free: 6.617 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003546/0.3384, allocations: 283.2 kB / 464.1 MB, free: 6.344 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3384, allocations: 0 / 464.1 MB, free: 6.344 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006869/0.3391, allocations: 183.7 kB / 464.3 MB, free: 6.164 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,simpleTriac.thyristor.vControl,simpleTriac.thyristor1.vControl) * Number of discrete variables: 5 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,trapezoidCurrent.signalSource.T_start,trapezoidCurrent.signalSource.count) * Number of discrete states: 1 (trapezoidCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0001791/0.3393, allocations: 103.2 kB / 464.4 MB, free: 6.055 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002955/0.3423, allocations: 0.9752 MB / 465.3 MB, free: 5.047 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3423, allocations: 0 / 465.3 MB, free: 5.047 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001709/0.344, allocations: 0.5765 MB / 465.9 MB, free: 4.457 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.3444, allocations: 84.5 kB / 466 MB, free: 4.379 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/0.3482, allocations: 1.268 MB / 467.3 MB, free: 3.082 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.3485, allocations: 240.8 kB / 467.5 MB, free: 2.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002663/0.3487, allocations: 43.3 kB / 467.5 MB, free: 2.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.3489, allocations: 35.42 kB / 467.6 MB, free: 2.742 MB / 366.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3489, allocations: 0 / 467.6 MB, free: 2.742 MB / 366.1 MB Notification: Performance of Templates: time 0.02202/0.3709, allocations: 14.1 MB / 481.7 MB, free: 4.766 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 480] Could not SIGINT process: 3178389. [Calling os._exit(0), Time elapsed: 484.8951612700039] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 0.38071820700133685 0.40242772800000004 0.13572086900000002 Calling exit ...