Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.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.001299/0.001299, allocations: 108.6 kB / 21.22 MB, free: 0.7305 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.001585/0.001585, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.406/1.406, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.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.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 47.92 kB / 371.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2575, allocations: 52.19 MB / 423.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01003/0.2675, allocations: 8.267 MB / 431.7 MB, free: 6.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005184/0.2727, allocations: 2.707 MB / 434.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008801/0.2735, allocations: 51.69 kB / 434.4 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001901/0.2754, allocations: 0.6445 MB / 435.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.2775, allocations: 0.668 MB / 435.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007696/0.2783, allocations: 291.5 kB / 436 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002774/0.2811, allocations: 2.031 MB / 438.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.2823, allocations: 0.8352 MB / 438.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.2838, allocations: 0.9072 MB / 439.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001818/0.2856, allocations: 1.09 MB / 440.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004085/0.2861, allocations: 228 kB / 441.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006912/0.2867, allocations: 323.8 kB / 441.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006649/0.2874, allocations: 0.6466 MB / 442.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.2886, allocations: 1.019 MB / 443.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003403/0.292, allocations: 3.005 MB / 446.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.292, allocations: 0 / 446.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.292, allocations: 0 / 446.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.114e-05/0.292, allocations: 0 / 446.1 MB, free: 7.809 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004349/0.2964, allocations: 2.111 MB / 448.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.2964, allocations: 8.031 kB / 448.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.247e-05/0.2965, allocations: 39.19 kB / 448.3 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002978/0.2968, allocations: 224.1 kB / 448.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006624/0.2975, allocations: 227.7 kB / 448.7 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/0.2995, allocations: 1.082 MB / 449.8 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.579e-05/0.2996, allocations: 115.1 kB / 449.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/0.2998, allocations: 152 kB / 450.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003136/0.3029, allocations: 1.963 MB / 452 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.436e-05/0.303, allocations: 3.953 kB / 452 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.3031, allocations: 67.98 kB / 452.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-05/0.3032, allocations: 78.91 kB / 452.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002541/0.3057, allocations: 1.577 MB / 453.7 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009554/0.3153, allocations: 6.168 MB / 459.9 MB, free: 9.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.3167, allocations: 0.7365 MB / 460.7 MB, free: 8.914 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009802/0.3176, allocations: 0.5343 MB / 461.2 MB, free: 8.375 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/0.3178, allocations: 40.61 kB / 461.2 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.3179, allocations: 47.69 kB / 461.3 MB, free: 8.277 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.066e-06/0.3179, allocations: 0 / 461.3 MB, free: 8.277 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01331/0.3312, allocations: 5.477 MB / 466.7 MB, free: 2.766 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.3312, allocations: 60.41 kB / 466.8 MB, free: 2.691 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.3329, allocations: 1.144 MB / 468 MB, free: 1.531 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.026e-05/0.333, allocations: 37.7 kB / 468 MB, free: 1.488 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006112/0.3336, allocations: 0.7963 MB / 468.8 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.3339, allocations: 313.3 kB / 469.1 MB, free: 384 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003394/0.3342, allocations: 218.8 kB / 469.3 MB, free: 156 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.3344, allocations: 349.9 kB / 469.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008017/0.3352, allocations: 0.5413 MB / 470.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.3363, allocations: 0.8835 MB / 471.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001956/0.3382, allocations: 1.516 MB / 472.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.3382, allocations: 4 kB / 472.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00359/0.3418, allocations: 2.048 MB / 474.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.3418, allocations: 11.94 kB / 474.7 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.3419, allocations: 12 kB / 474.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001475/0.3433, allocations: 0.5516 MB / 475.2 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000846/0.3442, allocations: 243.6 kB / 475.5 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009148/0.3533, allocations: 8.253 MB / 483.7 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.3544, allocations: 68 kB / 483.8 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/0.3545, allocations: 52.08 kB / 483.8 MB, free: 0.832 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (4,8,87.5%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000965/0.3555, allocations: 0.5169 MB / 484.3 MB, free: 312 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/0.3559, allocations: 139.3 kB / 484.5 MB, free: 172 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003335/0.3592, allocations: 1.755 MB / 486.2 MB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.3592, allocations: 8 kB / 486.2 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/0.3592, allocations: 4 kB / 486.2 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.3592, allocations: 3.984 kB / 486.2 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00713/0.3664, allocations: 3.705 MB / 490 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.3664, allocations: 4 kB / 490 MB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005337/0.3669, allocations: 123.8 kB / 490.1 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00162/0.3685, allocations: 0.5992 MB / 490.7 MB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.693e-05/0.3686, allocations: 27.98 kB / 490.7 MB, free: 9.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009838/0.3784, allocations: 7.381 MB / 498.1 MB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.3785, allocations: 3.938 kB / 498.1 MB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004488/0.3829, allocations: 2.484 MB / 0.4888 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007919/0.3837, allocations: 243.1 kB / 0.4891 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003408/0.3841, allocations: 23.94 kB / 0.4891 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000833/0.3849, allocations: 55.94 kB / 0.4891 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/0.3851, allocations: 68.52 kB / 0.4892 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.48e-05/0.3852, allocations: 32.17 kB / 0.4892 GB, free: 15.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00159/0.3868, allocations: 0.7893 MB / 0.49 GB, free: 14.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3868, allocations: 0 / 0.49 GB, free: 14.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001676/0.3885, allocations: 372 kB / 0.4904 GB, free: 13.98 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (imc.inertiaRotor.w,imc.idq_sr[1],imc.idq_sr[2],imc.idq_rr[1],imc.idq_rr[2],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(6,14,69.4%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004959/0.3934, allocations: 3.097 MB / 0.4934 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003844/0.3973, allocations: 1.941 MB / 0.4953 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.3973, allocations: 0 / 0.4953 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002268/0.3996, allocations: 1.185 MB / 0.4964 GB, free: 7.605 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.4017, allocations: 365 kB / 0.4968 GB, free: 7.254 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02469/0.4264, allocations: 13.69 MB / 0.5102 GB, free: 9.016 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00168/0.428, allocations: 1.46 MB / 0.5116 GB, free: 7.523 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008745/0.4289, allocations: 259.1 kB / 0.5118 GB, free: 7.266 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008748/0.4298, allocations: 0.5657 MB / 0.5124 GB, free: 6.699 MB / 430.1 MB Notification: Performance of SimCode: time 1.093e-06/0.4298, allocations: 0 / 0.5124 GB, free: 6.699 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2817/0.7115, allocations: 36.22 MB / 0.5478 GB, free: 107.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.78/19.49, allocations: 10.34 kB / 0.5478 GB, free: 107.6 MB / 446.1 MB " [Timeout remaining time 640] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking_fmu --startTime=0 --stopTime=25 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.037469706963748] Failed to read output from testmodel.py, exit status != 0: ['time', 'imc.idq_rr[1]', 'imc.idq_rr[2]', 'loadInertia.phi', 'loadInertia.w', 'imc.idq_sr[1]', 'imc.idq_sr[2]', 'imc.is[1]', 'imc.is[2]', 'tauElectrical', 'tauShaft', 'wMechanical'] 19.68379682995146 19.692897215 19.398629873 Calling exit ...