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.001834/0.001834, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.002241/0.002241, allocations: 212.6 kB / 24.49 MB, free: 3.934 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.001584/0.001584, allocations: 47.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2235, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.005197/0.2287, allocations: 3.714 MB / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.2305, allocations: 1.024 MB / 437.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.2306, allocations: 11.94 kB / 437.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.2309, allocations: 87.12 kB / 437.2 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.2312, allocations: 194.4 kB / 437.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/0.2317, allocations: 227.7 kB / 437.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008076/0.2325, allocations: 0.8173 MB / 438.4 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002477/0.2328, allocations: 117.4 kB / 438.5 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004226/0.2332, allocations: 330.9 kB / 438.9 MB, free: 180 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004919/0.2337, allocations: 366.6 kB / 439.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.2338, allocations: 84 kB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.2339, allocations: 92 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.2341, allocations: 163.4 kB / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002819/0.2344, allocations: 278.9 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000893/0.2353, allocations: 0.8631 MB / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2353, allocations: 0 / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2353, allocations: 0 / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.2353, 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.004125/0.2394, allocations: 0.9857 MB / 441.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2394, allocations: 8.031 kB / 441.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.2397, allocations: 72.55 kB / 441.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006482/0.2403, allocations: 364.4 kB / 442.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/0.2404, allocations: 29.38 kB / 442.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.189e-05/0.2405, allocations: 40.36 kB / 442.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/0.2428, allocations: 0.6283 MB / 442.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.2428, allocations: 3.938 kB / 442.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.397e-05/0.2429, allocations: 16 kB / 442.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.2429, allocations: 8 kB / 442.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002939/0.2459, allocations: 0.6401 MB / 443.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005462/0.2513, allocations: 1.908 MB / 445.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006176/0.2575, allocations: 0.8216 MB / 446.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00169/0.2592, allocations: 389.1 kB / 446.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.07e-05/0.2592, allocations: 4.328 kB / 446.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001854/0.2611, allocations: 460.3 kB / 447 MB, free: 7.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 3.386e-06/0.2611, allocations: 0 / 447 MB, free: 7.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.02077/0.2819, allocations: 2.309 MB / 449.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.2819, allocations: 81.11 kB / 449.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005113/0.2825, allocations: 397.7 kB / 449.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.867e-05/0.2825, allocations: 29.7 kB / 449.8 MB, free: 4.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.2827, allocations: 244.8 kB / 450.1 MB, free: 4.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.2829, allocations: 142.8 kB / 450.2 MB, free: 4.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.2831, allocations: 70.06 kB / 450.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.2832, allocations: 358.7 kB / 450.6 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.2842, allocations: 330.3 kB / 450.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.2853, allocations: 389.5 kB / 451.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/0.2871, allocations: 0.5952 MB / 451.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2871, allocations: 0 / 451.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003968/0.2911, allocations: 1.027 MB / 453 MB, free: 1.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.428e-05/0.2911, allocations: 29.7 kB / 453 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.2911, allocations: 0 / 453 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/0.2925, allocations: 436.4 kB / 453.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/0.293, allocations: 87.84 kB / 453.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009435/0.3025, allocations: 3.609 MB / 457.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007811/0.3032, allocations: 91.8 kB / 457.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/0.3033, allocations: 19.98 kB / 457.2 MB, free: 13.37 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.0002816/0.3036, allocations: 170.9 kB / 457.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.583e-05/0.3037, allocations: 47.66 kB / 457.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.3038, allocations: 56.42 kB / 457.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.3038, allocations: 7.984 kB / 457.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3038, allocations: 4 kB / 457.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/0.3041, allocations: 103.5 kB / 457.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.885e-05/0.3041, allocations: 15.98 kB / 457.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006683/0.3048, allocations: 71.91 kB / 457.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.3049, allocations: 44.02 kB / 457.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004783/0.3097, allocations: 1.157 MB / 458.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003154/0.3129, allocations: 1.195 MB / 460.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009616/0.3138, allocations: 311.7 kB / 460.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003353/0.3142, allocations: 279.2 kB / 460.6 MB, free: 9.895 MB / 366.1 MB Notification: Performance of Backend: time 4.31e-07/0.3142, allocations: 0 / 460.6 MB, free: 9.895 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002388/0.3166, allocations: 0.7669 MB / 461.4 MB, free: 9.09 MB / 366.1 MB Notification: Performance of SimCode: time 0.002028/0.3186, allocations: 1.524 MB / 462.9 MB, free: 7.52 MB / 366.1 MB Notification: Performance of Templates: time 0.02109/0.3397, allocations: 13.14 MB / 476.1 MB, free: 10.5 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 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 18.048171141999774] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 0.3477100239979336 0.362244996 0.12391245599999995 Calling exit ...