Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.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.001492/0.001492, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.001615/0.001615, allocations: 217 kB / 22.92 MB, free: 5.195 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.331/1.331, allocations: 230.5 MB / 256.4 MB, free: 8.254 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.IdealTriacCircuit,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",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.001797/0.001797, allocations: 67.89 kB / 376.1 MB, free: 4.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2142, allocations: 53.32 MB / 429.4 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.003856/0.218, allocations: 2.957 MB / 432.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.2193, allocations: 0.8141 MB / 433.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.2194, allocations: 4 kB / 433.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.2196, allocations: 51.44 kB / 433.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.2197, allocations: 103.1 kB / 433.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.22, allocations: 115.8 kB / 433.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003849/0.2204, allocations: 402.3 kB / 433.8 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.2206, allocations: 95.27 kB / 433.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.2208, allocations: 159.4 kB / 434.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.221, allocations: 159.3 kB / 434.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.047e-05/0.2211, allocations: 36 kB / 434.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.55e-05/0.2212, allocations: 40 kB / 434.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.644e-05/0.2212, allocations: 79.75 kB / 434.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.2214, allocations: 183.1 kB / 434.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.2218, allocations: 446.7 kB / 435 MB, free: 1.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2218, allocations: 0 / 435 MB, free: 1.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2219, allocations: 0 / 435 MB, free: 1.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.2219, allocations: 0 / 435 MB, free: 1.777 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0009477/0.2228, allocations: 0.6281 MB / 435.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.2228, allocations: 12.03 kB / 435.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.941e-05/0.2229, allocations: 62.67 kB / 435.7 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.2231, allocations: 48.69 kB / 435.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.2234, allocations: 288.9 kB / 436.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.2235, allocations: 20.94 kB / 436.1 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.2235, allocations: 24.38 kB / 436.1 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004634/0.224, allocations: 288.7 kB / 436.4 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.224, allocations: 0 / 436.4 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.224, allocations: 15.94 kB / 436.4 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.224, allocations: 4 kB / 436.4 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003773/0.2244, allocations: 202.2 kB / 436.6 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.226, allocations: 1.164 MB / 437.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004618/0.2265, allocations: 194.6 kB / 437.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.2267, allocations: 124.8 kB / 438.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.2268, allocations: 0 / 438.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/0.227, allocations: 177.7 kB / 438.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.182e-06/0.227, allocations: 0 / 438.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001347/0.2284, allocations: 0.5108 MB / 438.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.663e-05/0.2285, allocations: 132.5 kB / 438.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.2287, allocations: 241 kB / 439.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.2287, allocations: 29.7 kB / 439.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.2289, allocations: 172.7 kB / 439.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.623e-05/0.2289, allocations: 71.41 kB / 439.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.584e-05/0.229, allocations: 61.62 kB / 439.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2292, allocations: 334.8 kB / 439.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.2293, allocations: 67.98 kB / 439.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.2295, allocations: 129 kB / 440 MB, free: 12.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.2298, allocations: 172.2 kB / 440.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2298, allocations: 0 / 440.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004901/0.2303, allocations: 290.1 kB / 440.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2303, allocations: 8 kB / 440.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2303, allocations: 96 / 440.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000314/0.2306, allocations: 92.8 kB / 440.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.2307, allocations: 31.92 kB / 440.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.233, allocations: 2.135 MB / 442.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.2332, allocations: 43.86 kB / 442.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.2332, allocations: 11.98 kB / 442.7 MB, free: 9.559 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,idealTriac.fire1,idealTriac.idealThyristor1.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor.off,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.2334, allocations: 149.8 kB / 442.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.2334, allocations: 27.8 kB / 442.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.963e-05/0.2335, allocations: 34.17 kB / 442.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2335, allocations: 0 / 442.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.2335, allocations: 3.938 kB / 442.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2335, allocations: 8 kB / 443 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009229/0.2344, allocations: 0.7628 MB / 443.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2344, allocations: 0 / 443.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.2345, allocations: 19.98 kB / 443.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002541/0.2348, allocations: 92.73 kB / 443.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.2348, allocations: 4 kB / 443.8 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/0.2369, allocations: 2.144 MB / 446 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2369, allocations: 0 / 446 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006502/0.2376, allocations: 464.8 kB / 446.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.2377, allocations: 128.9 kB / 446.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.2377, allocations: 7.984 kB / 446.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.2379, allocations: 19.98 kB / 446.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.362e-05/0.238, allocations: 31.95 kB / 446.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.238, allocations: 4 kB / 446.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.2382, allocations: 176.5 kB / 446.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2382, allocations: 4.062 kB / 446.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000424/0.2386, allocations: 91.89 kB / 446.9 MB, free: 5.168 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealTriac.capacitor.v) * Number of discrete variables: 5 ($whenCondition1,booleanPulse.pulseStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off,idealTriac.fire1) * Number of discrete states: 2 (idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009726/0.2396, allocations: 0.9912 MB / 447.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006547/0.2402, allocations: 346.3 kB / 448.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2402, allocations: 0 / 448.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004067/0.2406, allocations: 260.1 kB / 448.5 MB, free: 3.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.241, allocations: 67.55 kB / 448.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/0.2445, allocations: 2.78 MB / 451.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.2449, allocations: 0.7639 MB / 452.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.739e-05/0.2449, allocations: 22.28 kB / 452.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.2451, allocations: 83.41 kB / 452.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2451, allocations: 0 / 452.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03707/0.2821, allocations: 7.665 MB / 459.8 MB, free: 8.188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.79, allocations: 4.062 kB / 459.9 MB, free: 8.184 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_IdealTriacCircuit_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_IdealTriacCircuit.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.948147422001057]