Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.001237/0.001237, allocations: 105.7 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.001483/0.001483, allocations: 214.7 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.292/1.292, allocations: 230.5 MB / 256.4 MB, free: 8.266 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.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",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.001985/0.001985, allocations: 67.84 kB / 376.1 MB, free: 4.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2244, allocations: 53.32 MB / 429.4 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004247/0.2286, allocations: 2.789 MB / 432.2 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.2302, allocations: 0.7595 MB / 433 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/0.2304, allocations: 4 kB / 433 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.2306, allocations: 39.58 kB / 433 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.2307, allocations: 91.2 kB / 433.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.2311, allocations: 119.8 kB / 433.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003911/0.2315, allocations: 382.5 kB / 433.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.2317, allocations: 64.62 kB / 433.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.2319, allocations: 159.5 kB / 433.8 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.2321, allocations: 167.3 kB / 434 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.496e-05/0.2322, allocations: 39.94 kB / 434 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.625e-05/0.2323, allocations: 36 kB / 434 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.217e-05/0.2324, allocations: 75.69 kB / 434.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.2325, allocations: 159.2 kB / 434.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003966/0.2329, allocations: 370.9 kB / 434.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2329, allocations: 4 kB / 434.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2329, allocations: 0 / 434.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.2329, allocations: 0 / 434.6 MB, free: 2.145 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001454/0.2344, allocations: 0.6879 MB / 435.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.2344, allocations: 12.03 kB / 435.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.136e-05/0.2345, allocations: 54.73 kB / 435.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.2346, allocations: 40.73 kB / 435.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.235, allocations: 282.9 kB / 435.7 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.235, allocations: 12.81 kB / 435.7 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.488e-05/0.2351, allocations: 24.33 kB / 435.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007251/0.2358, allocations: 313.9 kB / 436 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.2358, allocations: 0 / 436 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.2358, allocations: 7.984 kB / 436.1 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2358, allocations: 4 kB / 436.1 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000906/0.2368, allocations: 305.5 kB / 436.4 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.2384, allocations: 0.9688 MB / 437.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00274/0.2411, allocations: 488.8 kB / 437.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006042/0.2417, allocations: 200.7 kB / 438 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.2418, allocations: 8 kB / 438 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000602/0.2424, allocations: 243.9 kB / 438.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.382e-06/0.2424, allocations: 0 / 438.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001509/0.2439, allocations: 477.5 kB / 438.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.13e-05/0.2439, allocations: 110.8 kB / 438.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.2442, allocations: 233 kB / 439 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.2442, allocations: 33.7 kB / 439.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.2443, allocations: 160.3 kB / 439.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.403e-05/0.2444, allocations: 83.3 kB / 439.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.927e-05/0.2445, allocations: 41.94 kB / 439.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.2446, allocations: 338.8 kB / 439.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000472/0.2451, allocations: 148.3 kB / 439.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004868/0.2456, allocations: 180.2 kB / 440 MB, free: 12.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008886/0.2465, allocations: 316.7 kB / 440.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-06/0.2465, allocations: 4 kB / 440.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001081/0.2475, allocations: 414.8 kB / 440.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/0.2476, allocations: 29.7 kB / 440.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2476, allocations: 4 kB / 440.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.2476, allocations: 0 / 440.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/0.2493, allocations: 279.5 kB / 441 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004562/0.2538, allocations: 3.436 MB / 444.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/0.2542, allocations: 56.03 kB / 444.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.2542, allocations: 4 kB / 444.5 MB, free: 7.656 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001633/0.2544, allocations: 141.8 kB / 444.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.2544, allocations: 31.73 kB / 444.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.378e-05/0.2545, allocations: 38.17 kB / 444.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.2545, allocations: 4 kB / 444.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.2545, allocations: 0 / 444.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.2545, allocations: 3.984 kB / 444.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.2562, allocations: 0.9079 MB / 445.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2562, allocations: 0 / 445.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/0.2579, allocations: 259.7 kB / 445.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2579, allocations: 4 kB / 445.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.2579, allocations: 8 kB / 445.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004463/0.2623, allocations: 3.447 MB / 449.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.2623, allocations: 7.922 kB / 449.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.2638, allocations: 0.6063 MB / 450 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.917e-05/0.2639, allocations: 96.91 kB / 450.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.264, allocations: 11.98 kB / 450.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.2643, allocations: 39.95 kB / 450.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.2644, allocations: 27.95 kB / 450.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.2644, allocations: 12.06 kB / 450.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.2646, allocations: 172.5 kB / 450.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2646, allocations: 3.938 kB / 450.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004406/0.265, allocations: 79.89 kB / 450.4 MB, free: 1.383 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001794/0.2668, allocations: 1.169 MB / 451.6 MB, free: 184 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002467/0.2693, allocations: 0.5574 MB / 452.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2693, allocations: 0 / 452.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001902/0.2712, allocations: 375.8 kB / 452.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.2715, allocations: 46.84 kB / 452.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00554/0.2771, allocations: 3.178 MB / 455.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.2774, allocations: 0.7519 MB / 456.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.2775, allocations: 21.95 kB / 456.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.2777, allocations: 79.41 kB / 456.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2777, allocations: 0 / 456.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03289/0.3106, allocations: 6.508 MB / 463.1 MB, free: 4.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.98, allocations: 6.297 kB / 463.1 MB, free: 4.676 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.088643326998863]