Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.004524/0.004524, allocations: 101.3 kB / 21.96 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 218 kB / 25.26 MB, free: 3.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 57.8 kB / 348 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2548, allocations: 49.15 MB / 397.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004254/0.259, allocations: 3.567 MB / 400.7 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.2611, allocations: 1.319 MB / 402 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002775/0.2614, allocations: 14.44 kB / 402 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007737/0.2622, allocations: 260.9 kB / 402.3 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005439/0.2627, allocations: 259.4 kB / 402.5 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006027/0.2633, allocations: 272.3 kB / 402.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006315/0.2639, allocations: 0.7146 MB / 403.5 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.2642, allocations: 127 kB / 403.6 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.2645, allocations: 282.3 kB / 403.9 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003513/0.2648, allocations: 304.8 kB / 404.2 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.051e-05/0.2649, allocations: 50.91 kB / 404.3 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.2651, allocations: 104.2 kB / 404.4 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.2652, allocations: 145.8 kB / 404.5 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.2655, allocations: 244.2 kB / 404.8 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007553/0.2662, allocations: 0.7179 MB / 405.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2662, allocations: 4.516 kB / 405.5 MB, free: 3.961 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2662, allocations: 0 / 405.5 MB, free: 3.961 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.2662, allocations: 1.375 kB / 405.5 MB, free: 3.961 MB / 318.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.001432/0.2677, allocations: 0.8821 MB / 406.4 MB, free: 3.332 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.2677, allocations: 13.81 kB / 406.4 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.523e-05/0.2677, allocations: 11.5 kB / 406.4 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.716e-05/0.2678, allocations: 78.11 kB / 406.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.2679, allocations: 69.52 kB / 406.5 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.2684, allocations: 355.3 kB / 406.9 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.2684, allocations: 34.81 kB / 406.9 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.795e-05/0.2684, allocations: 37.38 kB / 406.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007051/0.2692, allocations: 0.5581 MB / 407.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.2692, allocations: 1.844 kB / 407.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/0.2692, allocations: 16.75 kB / 407.5 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.2692, allocations: 9.094 kB / 407.5 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005448/0.2698, allocations: 316.9 kB / 407.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.2718, allocations: 1.548 MB / 409.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005996/0.2724, allocations: 344.3 kB / 409.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.2726, allocations: 160.4 kB / 409.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.2727, allocations: 4.125 kB / 409.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004304/0.2731, allocations: 366.5 kB / 410.2 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.774e-06/0.2731, allocations: 0 / 410.2 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.001905/0.275, allocations: 0.7143 MB / 411 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.2751, allocations: 190.6 kB / 411.1 MB, free: 320 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005384/0.2756, allocations: 0.4947 MB / 411.6 MB, free: 88 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.2756, allocations: 36.89 kB / 411.7 MB, free: 48 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.2759, allocations: 255.5 kB / 411.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.276, allocations: 130.3 kB / 412.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.2761, allocations: 74.45 kB / 412.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.2763, allocations: 362.1 kB / 412.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.2766, allocations: 123.9 kB / 412.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004497/0.277, allocations: 374 kB / 413 MB, free: 14.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005221/0.2776, allocations: 273.4 kB / 413.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2776, allocations: 1.094 kB / 413.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008947/0.2785, allocations: 478.7 kB / 413.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2785, allocations: 3.562 kB / 413.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2785, allocations: 0 / 413.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005533/0.279, allocations: 172.4 kB / 413.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.2793, allocations: 42.3 kB / 413.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005527/0.2848, allocations: 6.212 MB / 420.1 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004175/0.2852, allocations: 57.69 kB / 420.2 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.2852, allocations: 13.72 kB / 420.2 MB, free: 8.211 MB / 334.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.0002772/0.2855, allocations: 184 kB / 420.4 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.679e-05/0.2856, allocations: 56.08 kB / 420.4 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.2867, allocations: 0.5016 MB / 420.9 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.2867, allocations: 4.312 kB / 420.9 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.2867, allocations: 0 / 420.9 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.2867, allocations: 5.078 kB / 420.9 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005839/0.2873, allocations: 414.8 kB / 421.3 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2873, allocations: 0 / 421.3 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.2874, allocations: 37.34 kB / 421.4 MB, free: 7.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004512/0.2879, allocations: 155 kB / 421.5 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.2879, allocations: 11.58 kB / 421.5 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005369/0.2933, allocations: 5.915 MB / 427.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2933, allocations: 0 / 427.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.2943, allocations: 0.5034 MB / 428 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.2945, allocations: 87.3 kB / 428 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.949e-05/0.2946, allocations: 7.375 kB / 428.1 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.2949, allocations: 34 kB / 428.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.295, allocations: 53.88 kB / 428.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.295, allocations: 11.91 kB / 428.2 MB, free: 1.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004472/0.2955, allocations: 360.7 kB / 428.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2955, allocations: 0 / 428.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007853/0.2963, allocations: 179.9 kB / 428.7 MB, free: 0.7656 MB / 334.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 (25): * Single equations (assignments): 18 * 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.002817/0.2991, allocations: 1.412 MB / 430.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00121/0.3003, allocations: 0.7917 MB / 430.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3003, allocations: 0 / 430.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007543/0.3011, allocations: 0.6452 MB / 431.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006378/0.3017, allocations: 115.6 kB / 431.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006422/0.3081, allocations: 4.263 MB / 435.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.3084, allocations: 263.2 kB / 436.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.3086, allocations: 48.17 kB / 436.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.3088, allocations: 167.4 kB / 436.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3088, allocations: 0 / 436.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04958/0.3584, allocations: 15 MB / 451.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.31, allocations: 11.97 kB / 451.4 MB, free: 10.89 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors_fmu --startTime=0 --stopTime=6 --stepSize=0.00118765 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.686549458070658] Failed to read output from testmodel.py, exit status != 0: ['time', 'IdealThyristor1.off', 'IdealThyristor2.off', 'booleanStep1.y'] 13.534769620047882 13.549516869 13.280211921 Calling exit ...