Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.001189/0.001189, 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.001271/0.001271, 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.268/1.268, allocations: 230.4 MB / 256.4 MB, free: 8.262 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.CharacteristicThyristors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",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.001761/0.001761, allocations: 71.83 kB / 376.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2271, allocations: 53.32 MB / 429.4 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005125/0.2322, allocations: 4.032 MB / 433.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002716/0.2349, allocations: 1.64 MB / 435.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.2351, allocations: 11.94 kB / 435.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007899/0.2359, allocations: 250.8 kB / 435.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006298/0.2366, allocations: 306.1 kB / 435.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.2371, allocations: 259.3 kB / 435.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006966/0.2378, allocations: 0.7242 MB / 436.6 MB, free: 216 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.2381, allocations: 117.9 kB / 436.7 MB, free: 92 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003759/0.2384, allocations: 286.9 kB / 437 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003639/0.2388, allocations: 306.7 kB / 437.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.733e-05/0.2389, allocations: 52 kB / 437.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.2391, allocations: 115.9 kB / 437.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.2393, allocations: 139.5 kB / 437.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002713/0.2395, allocations: 302.5 kB / 437.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007521/0.2403, allocations: 0.7229 MB / 438.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.2403, allocations: 0 / 438.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2403, allocations: 0 / 438.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.2403, allocations: 0 / 438.6 MB, free: 14.19 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001537/0.2418, allocations: 0.9758 MB / 439.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2419, allocations: 8.031 kB / 439.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.497e-05/0.242, allocations: 74.72 kB / 439.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.2422, allocations: 84.45 kB / 439.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005241/0.2427, allocations: 427.1 kB / 440.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.2427, allocations: 29.38 kB / 440.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.987e-05/0.2428, allocations: 39.94 kB / 440.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007265/0.2435, allocations: 445.5 kB / 440.7 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2435, allocations: 0 / 440.7 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.048e-05/0.2436, allocations: 19.94 kB / 440.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.2436, allocations: 8 kB / 440.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000596/0.2442, allocations: 323.8 kB / 441 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002215/0.2464, allocations: 1.699 MB / 442.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006143/0.247, allocations: 323.1 kB / 443 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.2473, allocations: 152.8 kB / 443.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.2473, allocations: 11.97 kB / 443.2 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004045/0.2477, allocations: 258.4 kB / 443.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.452e-06/0.2477, allocations: 3.938 kB / 443.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002076/0.2498, allocations: 1.013 MB / 444.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.2499, allocations: 191.9 kB / 444.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005573/0.2505, allocations: 0.5058 MB / 445.2 MB, free: 7.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.2505, allocations: 33.7 kB / 445.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.2507, allocations: 256.8 kB / 445.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.2508, allocations: 130.9 kB / 445.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.2509, allocations: 74.14 kB / 445.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.2511, allocations: 366.8 kB / 446 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.2513, allocations: 120.8 kB / 446.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/0.2516, allocations: 213.2 kB / 446.3 MB, free: 6.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004615/0.2521, allocations: 273.1 kB / 446.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2521, allocations: 0 / 446.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007815/0.2529, allocations: 481.4 kB / 447.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2529, allocations: 8 kB / 447.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2529, allocations: 0 / 447.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004788/0.2534, allocations: 159.3 kB / 447.2 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.2536, allocations: 47.91 kB / 447.3 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005365/0.259, allocations: 6.652 MB / 453.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/0.2593, allocations: 51.86 kB / 454 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.2594, allocations: 15.98 kB / 454 MB, free: 13.75 MB / 366.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: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002475/0.2596, allocations: 188 kB / 454.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.158e-05/0.2597, allocations: 63.66 kB / 454.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000979/0.2607, allocations: 0.4909 MB / 454.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.2607, allocations: 4 kB / 454.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.2607, allocations: 0 / 454.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.2607, allocations: 3.984 kB / 454.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.2612, allocations: 0.4894 MB / 455.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.2612, allocations: 4 kB / 455.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.2613, allocations: 27.92 kB / 455.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004117/0.2617, allocations: 159.3 kB / 455.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.2618, allocations: 8 kB / 455.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004986/0.2667, allocations: 6.368 MB / 461.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2667, allocations: 3.938 kB / 461.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009709/0.2677, allocations: 0.5077 MB / 462.3 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.2679, allocations: 152.7 kB / 462.5 MB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.826e-05/0.2679, allocations: 8 kB / 462.5 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.2682, allocations: 39.97 kB / 462.5 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.2684, allocations: 51.92 kB / 462.6 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.2684, allocations: 8 kB / 462.6 MB, free: 4.488 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004285/0.2688, allocations: 371 kB / 462.9 MB, free: 4.125 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2688, allocations: 0 / 462.9 MB, free: 4.125 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007487/0.2696, allocations: 175.7 kB / 463.1 MB, free: 3.953 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002602/0.2722, allocations: 1.372 MB / 464.5 MB, free: 2.699 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.2733, allocations: 0.7917 MB / 465.3 MB, free: 1.855 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2733, allocations: 0 / 465.3 MB, free: 1.855 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006977/0.274, allocations: 0.6392 MB / 465.9 MB, free: 1.164 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.2745, allocations: 127.7 kB / 466 MB, free: 1.047 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005775/0.2803, allocations: 4.262 MB / 470.3 MB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.2807, allocations: 0.8673 MB / 471.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001675/0.2809, allocations: 56.14 kB / 471.2 MB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.2811, allocations: 171.4 kB / 471.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2811, allocations: 0 / 471.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04934/0.3304, allocations: 14.72 MB / 486.1 MB, free: 13 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.43, allocations: 0 / 486.1 MB, free: 13 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CharacteristicThyristors_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CharacteristicThyristors.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.613109869002074]