Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.001486/0.001486, allocations: 113 kB / 18.49 MB, free: 4.539 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.00157/0.00157, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.398/1.398, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 51.92 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1094, allocations: 53.32 MB / 427 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004259/0.1137, allocations: 2.793 MB / 429.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.115, allocations: 0.744 MB / 430.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.1151, allocations: 7.938 kB / 430.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.1153, allocations: 43.58 kB / 430.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.1154, allocations: 91.2 kB / 430.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.1158, allocations: 111.8 kB / 430.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000438/0.1162, allocations: 386.5 kB / 431.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.1164, allocations: 56.7 kB / 431.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.1167, allocations: 163.5 kB / 431.4 MB, free: 360 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.1169, allocations: 175.3 kB / 431.6 MB, free: 184 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.1169, allocations: 32 kB / 431.6 MB, free: 152 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.355e-05/0.117, allocations: 39.98 kB / 431.6 MB, free: 112 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.926e-05/0.1171, allocations: 75.75 kB / 431.7 MB, free: 36 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2149/0.332, allocations: 148.3 kB / 431.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006063/0.3326, allocations: 380.7 kB / 432.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3326, allocations: 0.6562 kB / 432.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3326, allocations: 0 / 432.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.3326, allocations: 0.6562 kB / 432.2 MB, free: 7.961 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.001516/0.3341, allocations: 0.6843 MB / 432.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.3342, allocations: 9.312 kB / 432.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.532e-05/0.3342, allocations: 6.844 kB / 432.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.3342, allocations: 55.48 kB / 433 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.3344, allocations: 43.47 kB / 433 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.3348, allocations: 273.1 kB / 433.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.3348, allocations: 17.22 kB / 433.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.3349, allocations: 23.8 kB / 433.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007491/0.3356, allocations: 319.3 kB / 433.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3356, allocations: 0 / 433.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.3357, allocations: 12.09 kB / 433.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.3357, allocations: 7.688 kB / 433.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009251/0.3366, allocations: 295.6 kB / 434 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.3381, allocations: 0.9671 MB / 434.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/0.341, allocations: 494.6 kB / 435.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006625/0.3416, allocations: 202.9 kB / 435.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.3417, allocations: 3.109 kB / 435.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006771/0.3423, allocations: 244.7 kB / 435.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.863e-06/0.3423, allocations: 0 / 435.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001646/0.344, allocations: 474.2 kB / 436.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.344, allocations: 106.9 kB / 436.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.3443, allocations: 236.6 kB / 436.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.3443, allocations: 35.53 kB / 436.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.967e-05/0.3444, allocations: 163.3 kB / 436.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.358e-05/0.3445, allocations: 82.45 kB / 436.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.3446, allocations: 44.48 kB / 437 MB, free: 6.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.905e-05/0.3447, allocations: 335.5 kB / 437.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/0.3452, allocations: 141.9 kB / 437.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000512/0.3457, allocations: 177.9 kB / 437.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009318/0.3466, allocations: 318 kB / 437.9 MB, free: 5.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3466, allocations: 1.062 kB / 437.9 MB, free: 5.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001148/0.3478, allocations: 415.7 kB / 438.3 MB, free: 5.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.3478, allocations: 37.41 kB / 438.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.3478, allocations: 0 / 438.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.3478, allocations: 1.906 kB / 438.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/0.3496, allocations: 272.6 kB / 438.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004486/0.3541, allocations: 3.432 MB / 442.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005138/0.3546, allocations: 55.77 kB / 442.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.3546, allocations: 13.05 kB / 442.1 MB, free: 2.543 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.0002165/0.3548, allocations: 150.2 kB / 442.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.3549, allocations: 23.77 kB / 442.3 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.355e-05/0.355, allocations: 29.88 kB / 442.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.355, allocations: 4.234 kB / 442.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.355, allocations: 5.188 kB / 442.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.355, allocations: 0.7031 kB / 442.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.3572, allocations: 0.9037 MB / 443.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.3572, allocations: 6.25 kB / 443.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001806/0.359, allocations: 259 kB / 443.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.359, allocations: 1.625 kB / 443.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.359, allocations: 3.609 kB / 443.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004964/0.364, allocations: 3.454 MB / 447 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.364, allocations: 1.156 kB / 447 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.3657, allocations: 0.6035 MB / 447.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.3659, allocations: 111.9 kB / 447.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/0.3659, allocations: 6.984 kB / 447.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.3663, allocations: 45.39 kB / 447.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.3664, allocations: 27.72 kB / 447.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.3664, allocations: 5.984 kB / 447.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002161/0.3666, allocations: 173.1 kB / 447.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3666, allocations: 6.625 kB / 447.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005505/0.3672, allocations: 84.34 kB / 448 MB, free: 14.23 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.002028/0.3692, allocations: 1.152 MB / 449.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002695/0.3719, allocations: 0.5657 MB / 449.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3719, allocations: 0.9062 kB / 449.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002/0.3739, allocations: 378.5 kB / 450.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.3744, allocations: 42.91 kB / 450.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006505/0.3809, allocations: 3.168 MB / 453.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.3813, allocations: 0.7495 MB / 454.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000157/0.3815, allocations: 26.52 kB / 454.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.3816, allocations: 83.7 kB / 454.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3816, allocations: 1.531 kB / 454.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.411, allocations: 6.539 MB / 460.7 MB, free: 8.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.11, allocations: 6.938 kB / 460.7 MB, free: 8.312 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --stepSize=3.97456e-08 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.441825561050791] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.i', 'thyristor_v4_1.vControl'] 12.252780411974527 12.266410937 11.930957239 Calling exit ...