Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001469/0.001469, allocations: 117 kB / 18.49 MB, free: 4.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.001494/0.001494, allocations: 216.7 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.565/1.565, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 60.09 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1389, allocations: 53.37 MB / 427.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006879/0.1457, allocations: 4.023 MB / 431.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2725/0.4183, allocations: 1.612 MB / 432.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007201/0.419, allocations: 11.94 kB / 432.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.4201, allocations: 253.2 kB / 433 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.4214, allocations: 301.8 kB / 433.3 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.4226, allocations: 267.6 kB / 433.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001608/0.4242, allocations: 0.7258 MB / 434.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004473/0.4246, allocations: 130.8 kB / 434.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.4257, allocations: 291 kB / 434.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007633/0.4264, allocations: 308 kB / 435 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001705/0.4266, allocations: 51.44 kB / 435 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005392/0.4271, allocations: 105.5 kB / 435.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002695/0.4274, allocations: 144 kB / 435.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005797/0.428, allocations: 304.9 kB / 435.6 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.4296, allocations: 0.7244 MB / 436.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4296, allocations: 0 / 436.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.937e-06/0.4296, allocations: 1.281 kB / 436.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.4296, allocations: 3.469 kB / 436.3 MB, free: 6.902 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.003411/0.433, allocations: 0.9631 MB / 437.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.781e-05/0.4331, allocations: 10.28 kB / 437.3 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.673e-05/0.4331, allocations: 10.69 kB / 437.3 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.4333, allocations: 80.44 kB / 437.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004141/0.4337, allocations: 82.47 kB / 437.4 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009139/0.4346, allocations: 433.3 kB / 437.8 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.4346, allocations: 30.5 kB / 437.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.915e-05/0.4347, allocations: 37.77 kB / 437.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.4359, allocations: 447.3 kB / 438.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.4359, allocations: 2.094 kB / 438.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.337e-05/0.4359, allocations: 21.27 kB / 438.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.436, allocations: 8.781 kB / 438.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009633/0.4369, allocations: 311.2 kB / 438.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003713/0.4406, allocations: 1.7 MB / 440.4 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009918/0.4416, allocations: 322.7 kB / 440.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004664/0.4421, allocations: 167.2 kB / 440.9 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.61e-05/0.4421, allocations: 4.969 kB / 440.9 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00067/0.4428, allocations: 262.4 kB / 441.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 4.748e-06/0.4428, allocations: 4.422 kB / 441.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003316/0.4461, allocations: 1.011 MB / 442.1 MB, free: 3.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/0.4462, allocations: 193.8 kB / 442.3 MB, free: 3.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.4473, allocations: 0.5042 MB / 442.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.637e-05/0.4473, allocations: 33.05 kB / 442.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.4476, allocations: 261.7 kB / 443.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.4477, allocations: 135.3 kB / 443.3 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.448, allocations: 75.81 kB / 443.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4481, allocations: 359 kB / 443.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.4485, allocations: 120.9 kB / 443.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004808/0.449, allocations: 217.4 kB / 444 MB, free: 2.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007681/0.4497, allocations: 269.3 kB / 444.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.4497, allocations: 1.219 kB / 444.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001418/0.4511, allocations: 474.4 kB / 444.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.4512, allocations: 6.188 kB / 444.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.4512, allocations: 0.6562 kB / 444.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007953/0.452, allocations: 164.5 kB / 444.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.4523, allocations: 41.88 kB / 444.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00687/0.4592, allocations: 6.655 MB / 451.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005932/0.4598, allocations: 56.7 kB / 451.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.4598, allocations: 10.31 kB / 451.7 MB, free: 11.04 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.0003467/0.4601, allocations: 193.7 kB / 451.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.4602, allocations: 57.47 kB / 451.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.4604, allocations: 67.75 kB / 452 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.4604, allocations: 3.219 kB / 452 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4604, allocations: 0.6562 kB / 452 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4604, allocations: 3.484 kB / 452 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006582/0.4611, allocations: 493.7 kB / 452.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.4611, allocations: 1.219 kB / 452.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.4612, allocations: 28.34 kB / 452.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004562/0.4617, allocations: 161 kB / 452.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.4617, allocations: 11.55 kB / 452.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005707/0.4674, allocations: 6.365 MB / 459 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4674, allocations: 1.344 kB / 459 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.4687, allocations: 0.4955 MB / 459.5 MB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002879/0.469, allocations: 164.2 kB / 459.7 MB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.205e-05/0.469, allocations: 11.75 kB / 459.7 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.4693, allocations: 32.98 kB / 459.7 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.4695, allocations: 53.17 kB / 459.8 MB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.4695, allocations: 13.09 kB / 459.8 MB, free: 3.777 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005614/0.4701, allocations: 369.1 kB / 460.2 MB, free: 3.609 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4701, allocations: 0 / 460.2 MB, free: 3.609 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009478/0.4711, allocations: 168.8 kB / 460.3 MB, free: 3.578 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,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent) * 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.003236/0.4743, allocations: 1.375 MB / 461.7 MB, free: 2.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.4758, allocations: 0.7902 MB / 462.5 MB, free: 2.094 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4758, allocations: 1.031 kB / 462.5 MB, free: 2.094 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009043/0.4767, allocations: 0.6446 MB / 463.1 MB, free: 1.555 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006925/0.4774, allocations: 114.6 kB / 463.2 MB, free: 1.512 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007082/0.4844, allocations: 4.283 MB / 467.5 MB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/0.485, allocations: 0.8642 MB / 468.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002604/0.4853, allocations: 49.08 kB / 468.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.4855, allocations: 174.7 kB / 468.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4855, allocations: 1.125 kB / 468.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0583/0.5438, allocations: 14.66 MB / 483.3 MB, free: 6.004 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.26, allocations: 14.75 kB / 483.3 MB, free: 5.996 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicThyristors_fmu --startTime=0 --stopTime=6 --stepSize=0.00118765 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicThyristors.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.944481001002714] Failed to read output from testmodel.py, exit status != 0: ['time', 'IdealThyristor1.off', 'IdealThyristor2.off', 'booleanStep1.y'] 13.472829042002559 13.487148876000001 13.054141541 Calling exit ...