Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 117.8 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 190.7 kB / 21.43 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 225.6 MB / 249.8 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 51.92 kB / 366.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09632/0.09789, allocations: 52.15 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004503/0.1024, allocations: 2.742 MB / 421.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.1039, allocations: 0.7089 MB / 421.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002858/0.1042, allocations: 4 kB / 421.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.1044, allocations: 43.56 kB / 422 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.1047, allocations: 83.27 kB / 422.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.1051, allocations: 111.7 kB / 422.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005072/0.1056, allocations: 382.5 kB / 422.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.1058, allocations: 57.38 kB / 422.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.106, allocations: 147.5 kB / 422.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.1062, allocations: 179.3 kB / 422.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.51e-05/0.1063, allocations: 32 kB / 423 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.285e-05/0.1063, allocations: 32 kB / 423 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.455e-05/0.1064, allocations: 71.75 kB / 423.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.1066, allocations: 151.3 kB / 423.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.107, allocations: 370.5 kB / 423.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.107, allocations: 4 kB / 423.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.107, allocations: 0 / 423.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.107, allocations: 0 / 423.6 MB, free: 7.5 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001604/0.1086, allocations: 0.6724 MB / 424.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1086, allocations: 8.031 kB / 424.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.831e-05/0.1086, allocations: 8.625 kB / 424.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.446e-05/0.1087, allocations: 58.72 kB / 424.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.674e-05/0.1088, allocations: 32.75 kB / 424.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.1092, allocations: 272.9 kB / 424.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.1093, allocations: 16.75 kB / 424.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.975e-05/0.1093, allocations: 28.33 kB / 424.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007994/0.1101, allocations: 313.6 kB / 425 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1101, allocations: 0 / 425 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.1102, allocations: 11.92 kB / 425 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1102, allocations: 4 kB / 425 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009766/0.1112, allocations: 293.5 kB / 425.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.113, allocations: 0.961 MB / 426.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002924/0.1159, allocations: 490.1 kB / 426.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006497/0.1166, allocations: 196.7 kB / 426.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/0.1166, allocations: 7.984 kB / 426.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006805/0.1173, allocations: 233.7 kB / 427.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.923e-06/0.1173, allocations: 0 / 427.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001604/0.1189, allocations: 463.8 kB / 427.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.887e-05/0.119, allocations: 110.8 kB / 427.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.1193, allocations: 233 kB / 427.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.1193, allocations: 25.7 kB / 428 MB, free: 2.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.1194, allocations: 164.3 kB / 428.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/0.1195, allocations: 71.42 kB / 428.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.1197, allocations: 57.83 kB / 428.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1198, allocations: 334.8 kB / 428.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.1203, allocations: 136.4 kB / 428.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005082/0.1208, allocations: 176.9 kB / 428.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009356/0.1218, allocations: 320.1 kB / 429.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1218, allocations: 0 / 429.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001134/0.1229, allocations: 402.8 kB / 429.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.239e-05/0.123, allocations: 37.7 kB / 429.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.123, allocations: 4.062 kB / 429.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.123, allocations: 4 kB / 429.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.1247, allocations: 231.7 kB / 429.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004834/0.1295, allocations: 3.408 MB / 433.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/0.1299, allocations: 52.03 kB / 433.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.13, allocations: 15.98 kB / 433.3 MB, free: 13.14 MB / 366.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.0001829/0.1301, allocations: 141.7 kB / 433.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.1302, allocations: 23.86 kB / 433.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.962e-05/0.1303, allocations: 30.17 kB / 433.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1303, allocations: 4 kB / 433.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.1303, allocations: 0 / 433.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1303, allocations: 0 / 433.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.1321, allocations: 0.8913 MB / 434.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.1321, allocations: 4 kB / 434.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/0.1338, allocations: 227.7 kB / 434.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1338, allocations: 7.938 kB / 434.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.1338, allocations: 7.984 kB / 434.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004682/0.1385, allocations: 3.416 MB / 438.1 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1385, allocations: 4.031 kB / 438.1 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.14, allocations: 0.5848 MB / 438.7 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.545e-05/0.1401, allocations: 112.9 kB / 438.8 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.1401, allocations: 11.94 kB / 438.8 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.1405, allocations: 40.02 kB / 438.8 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.623e-05/0.1406, allocations: 23.97 kB / 438.8 MB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.1406, allocations: 11.98 kB / 438.9 MB, free: 7.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001773/0.1408, allocations: 172.4 kB / 439 MB, free: 7.062 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1408, allocations: 0 / 439 MB, free: 7.062 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004783/0.1413, allocations: 79.95 kB / 439.1 MB, free: 6.984 MB / 366.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.00192/0.1432, allocations: 1.151 MB / 440.3 MB, free: 5.797 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002465/0.1457, allocations: 0.5224 MB / 440.8 MB, free: 5.262 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.1457, allocations: 8.062 kB / 440.8 MB, free: 5.254 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001889/0.1476, allocations: 347.6 kB / 441.1 MB, free: 4.914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.1479, allocations: 38.98 kB / 441.2 MB, free: 4.879 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005788/0.1537, allocations: 3.136 MB / 444.3 MB, free: 1.633 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.1541, allocations: 0.748 MB / 445 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001258/0.1542, allocations: 21.95 kB / 445.1 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.1544, allocations: 83.41 kB / 445.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1544, allocations: 0 / 445.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2102/0.3646, allocations: 6.431 MB / 451.6 MB, free: 31.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.99, allocations: 28.7 kB / 451.6 MB, free: 31 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --stepSize=3.97456e-08 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.311935165023897] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.i', 'thyristor_v4_1.vControl'] 12.136064834019635 12.156988736 12.046209861 Calling exit ...