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.001453/0.001453, allocations: 110.6 kB / 19.17 MB, free: 3.871 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.001553/0.001553, allocations: 207.2 kB / 22.12 MB, free: 0.9297 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.685/1.685, allocations: 207.6 MB / 232.5 MB, free: 11.5 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.001855/0.001855, allocations: 51.92 kB / 343 MB, free: 12.36 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3544, allocations: 49.12 MB / 392.1 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005127/0.3595, allocations: 3.942 MB / 396.1 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.3621, allocations: 1.365 MB / 397.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000474/0.3626, allocations: 10.88 kB / 397.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008194/0.3634, allocations: 258.5 kB / 397.7 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006493/0.364, allocations: 257.5 kB / 397.9 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000705/0.3647, allocations: 257.6 kB / 398.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007325/0.3655, allocations: 0.7157 MB / 398.9 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.3657, allocations: 124.6 kB / 399 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003716/0.3661, allocations: 283 kB / 399.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003973/0.3665, allocations: 313 kB / 399.6 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.36e-05/0.3666, allocations: 54.38 kB / 399.7 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002719/0.3668, allocations: 97.88 kB / 399.8 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.367, allocations: 146.6 kB / 399.9 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.3673, allocations: 300 kB / 400.2 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009983/0.3683, allocations: 0.7071 MB / 400.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3683, allocations: 1.25 kB / 400.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3683, allocations: 0 / 400.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.3683, allocations: 0 / 400.9 MB, free: 3.293 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.001815/0.3701, allocations: 0.961 MB / 401.9 MB, free: 2.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.3702, allocations: 9.656 kB / 401.9 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.872e-05/0.3702, allocations: 10.56 kB / 401.9 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.705e-05/0.3703, allocations: 78.19 kB / 402 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.3704, allocations: 70.33 kB / 402 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.371, allocations: 421.9 kB / 402.4 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.371, allocations: 34.61 kB / 402.5 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.015e-05/0.3711, allocations: 42.11 kB / 402.5 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007003/0.3718, allocations: 438.5 kB / 402.9 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3718, allocations: 3.938 kB / 403 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.3718, allocations: 16.62 kB / 403 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.3719, allocations: 9.875 kB / 403 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006024/0.3725, allocations: 321.5 kB / 403.3 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.375, allocations: 1.691 MB / 405 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000679/0.3757, allocations: 324.4 kB / 405.3 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.376, allocations: 161.4 kB / 405.5 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.042e-05/0.376, allocations: 10.23 kB / 405.5 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000413/0.3765, allocations: 259.5 kB / 405.7 MB, free: 200 kB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.014e-06/0.3765, allocations: 0 / 405.7 MB, free: 200 kB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002403/0.3789, allocations: 1.014 MB / 406.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.379, allocations: 185.6 kB / 406.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000735/0.3797, allocations: 0.4933 MB / 407.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.531e-05/0.3798, allocations: 38.48 kB / 407.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.38, allocations: 256.6 kB / 407.7 MB, free: 14.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.3802, allocations: 129.2 kB / 407.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.3803, allocations: 80.22 kB / 407.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.3805, allocations: 357.3 kB / 408.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.3808, allocations: 121.1 kB / 408.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003706/0.3812, allocations: 217.1 kB / 408.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005258/0.3817, allocations: 273.8 kB / 408.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3817, allocations: 0 / 408.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009612/0.3827, allocations: 478.5 kB / 409.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3827, allocations: 6.984 kB / 409.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3827, allocations: 3.938 kB / 409.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005958/0.3833, allocations: 164 kB / 409.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.3835, allocations: 47.53 kB / 409.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006566/0.3901, allocations: 6.655 MB / 416.2 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006302/0.3907, allocations: 54 kB / 416.2 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.3908, allocations: 13.03 kB / 416.3 MB, free: 7.152 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.0003819/0.3911, allocations: 191.8 kB / 416.4 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.3913, allocations: 60.95 kB / 416.5 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.3914, allocations: 59.34 kB / 416.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3914, allocations: 3.812 kB / 416.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.3914, allocations: 1 kB / 416.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3914, allocations: 0 / 416.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007121/0.3921, allocations: 0.4952 MB / 417.1 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3921, allocations: 0 / 417.1 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.3923, allocations: 31.95 kB / 417.1 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004918/0.3928, allocations: 162.3 kB / 417.2 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/0.3928, allocations: 6.156 kB / 417.3 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006064/0.3989, allocations: 6.351 MB / 423.6 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.3989, allocations: 9.359 kB / 423.6 MB, free: 0 / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.4002, allocations: 0.5016 MB / 424.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003272/0.4005, allocations: 155.7 kB / 424.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.768e-05/0.4006, allocations: 7.406 kB / 424.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.4009, allocations: 29.38 kB / 424.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/0.4011, allocations: 54.23 kB / 424.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.4011, allocations: 16.25 kB / 424.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005637/0.4017, allocations: 359.7 kB / 424.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4017, allocations: 0 / 424.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001037/0.4027, allocations: 170.9 kB / 424.9 MB, free: 15.24 MB / 350.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.003196/0.4059, allocations: 1.371 MB / 426.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.4074, allocations: 0.7861 MB / 427 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4074, allocations: 0 / 427 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008791/0.4082, allocations: 0.6396 MB / 427.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007793/0.409, allocations: 114.3 kB / 427.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007336/0.4164, allocations: 4.249 MB / 432 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006352/0.417, allocations: 0.865 MB / 432.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000301/0.4173, allocations: 50.44 kB / 433 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.4175, allocations: 166.3 kB / 433.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of SimCode: time 1.423e-06/0.4175, allocations: 0 / 433.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05161/0.4692, allocations: 14.56 MB / 447.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.6, allocations: 3.906 kB / 447.7 MB, free: 10.64 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: 16.359034263994545] Failed to read output from testmodel.py, exit status != 0: ['time', 'IdealThyristor1.off', 'IdealThyristor2.off', 'booleanStep1.y'] 13.817204865976237 13.835876043 13.46384498 Calling exit ...