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.001454/0.001454, allocations: 105 kB / 19.74 MB, free: 2.566 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.001685/0.001685, allocations: 217.6 kB / 22.92 MB, free: 5.535 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.311/1.311, allocations: 230.5 MB / 256.4 MB, free: 8.434 MB / 206.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) [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.001773/0.001773, allocations: 67.89 kB / 376.1 MB, free: 4.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.209, allocations: 53.32 MB / 429.4 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.004917/0.2139, allocations: 4.132 MB / 433.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.2157, allocations: 1.075 MB / 434.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.2159, allocations: 4 kB / 434.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.2161, allocations: 95.06 kB / 434.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.2164, allocations: 186.5 kB / 434.9 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.2169, allocations: 235.6 kB / 435.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000812/0.2177, allocations: 0.8173 MB / 435.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.2179, allocations: 124.3 kB / 436.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004055/0.2183, allocations: 318.9 kB / 436.4 MB, free: 440 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004084/0.2187, allocations: 362.6 kB / 436.7 MB, free: 76 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.2188, allocations: 84.05 kB / 436.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.219, allocations: 88 kB / 436.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.2191, allocations: 159.4 kB / 437.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003009/0.2194, allocations: 338.4 kB / 437.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000833/0.2203, allocations: 0.8611 MB / 438.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2203, allocations: 0 / 438.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2203, allocations: 4 kB / 438.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.2203, allocations: 0 / 438.3 MB, free: 14.55 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.002445/0.2227, allocations: 1.053 MB / 439.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2228, allocations: 12.03 kB / 439.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.234e-05/0.2229, allocations: 74.72 kB / 439.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.2231, allocations: 72.55 kB / 439.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005863/0.2236, allocations: 426.2 kB / 439.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/0.2237, allocations: 33.36 kB / 439.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.918e-05/0.2238, allocations: 36.38 kB / 439.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.2251, allocations: 0.6069 MB / 440.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2251, allocations: 0 / 440.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.972e-05/0.2252, allocations: 12 kB / 440.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.2252, allocations: 12 kB / 440.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.2271, allocations: 0.6401 MB / 441.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003469/0.2305, allocations: 2.165 MB / 443.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003616/0.2341, allocations: 0.8237 MB / 444.2 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009892/0.2351, allocations: 373.3 kB / 444.6 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.2352, allocations: 12.25 kB / 444.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001075/0.2362, allocations: 430.7 kB / 445 MB, free: 7.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.583e-06/0.2362, allocations: 3.938 kB / 445 MB, free: 7.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.01322/0.2495, allocations: 2.383 MB / 447.4 MB, free: 5.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/0.2495, allocations: 81.11 kB / 447.5 MB, free: 5.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/0.25, allocations: 413.9 kB / 447.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/0.2501, allocations: 41.69 kB / 447.9 MB, free: 4.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.2502, allocations: 232.9 kB / 448.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.2504, allocations: 142.8 kB / 448.3 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.2505, allocations: 74.06 kB / 448.4 MB, free: 4.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.2507, allocations: 358.7 kB / 448.7 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009013/0.2516, allocations: 300.6 kB / 449 MB, free: 3.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009113/0.2525, allocations: 342 kB / 449.3 MB, free: 3.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/0.2542, allocations: 0.5913 MB / 449.9 MB, free: 2.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2542, allocations: 4 kB / 449.9 MB, free: 2.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003375/0.2576, allocations: 0.9979 MB / 450.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.227e-05/0.2576, allocations: 37.7 kB / 451 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2577, allocations: 0 / 451 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.2589, allocations: 427.4 kB / 451.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004653/0.2593, allocations: 103.8 kB / 451.5 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00812/0.2675, allocations: 3.814 MB / 455.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006471/0.2681, allocations: 95.83 kB / 455.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.2682, allocations: 12 kB / 455.4 MB, free: 12.88 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.0002456/0.2684, allocations: 173.7 kB / 455.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-05/0.2685, allocations: 51.67 kB / 455.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.2686, allocations: 64.52 kB / 455.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2686, allocations: 4 kB / 455.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2686, allocations: 0 / 455.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2686, allocations: 0 / 455.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006634/0.2693, allocations: 0.6222 MB / 456.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2693, allocations: 0 / 456.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004742/0.2698, allocations: 87.86 kB / 456.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/0.2709, allocations: 435.7 kB / 456.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.744e-05/0.2709, allocations: 8 kB / 456.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007773/0.2787, allocations: 3.803 MB / 460.6 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2787, allocations: 3.938 kB / 460.6 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005393/0.2841, allocations: 1.501 MB / 462.1 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/0.2843, allocations: 180.8 kB / 462.3 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.814e-05/0.2844, allocations: 19.88 kB / 462.3 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005405/0.2849, allocations: 75.91 kB / 462.4 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.285, allocations: 43.94 kB / 462.4 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.2851, allocations: 15.98 kB / 462.5 MB, free: 5.566 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003155/0.2854, allocations: 291.2 kB / 462.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2854, allocations: 4 kB / 462.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005487/0.2859, allocations: 179.8 kB / 462.9 MB, free: 5.105 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.005731/0.2917, allocations: 2.052 MB / 465 MB, free: 3.023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002521/0.2942, allocations: 0.9346 MB / 465.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2942, allocations: 0 / 465.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.2957, allocations: 0.5765 MB / 466.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.2961, allocations: 93.33 kB / 466.6 MB, free: 1.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.3103, allocations: 5.959 MB / 472.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.3108, allocations: 0.8355 MB / 473.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002201/0.311, allocations: 51.38 kB / 473.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.3113, allocations: 163.4 kB / 473.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of SimCode: time 1.343e-06/0.3113, allocations: 0 / 473.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0497/0.361, allocations: 18.74 MB / 492.3 MB, free: 7.707 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.32, allocations: 0 / 492.3 MB, free: 7.707 MB / 398.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-12 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.415763853998214]