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.001575/0.001575, 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.001693/0.001693, 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.419/1.419, allocations: 225.6 MB / 249.8 MB, free: 3.621 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.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.001765/0.001765, allocations: 55.92 kB / 366.4 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1031, allocations: 52.14 MB / 418.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01054/0.1136, allocations: 8.227 MB / 426.7 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005483/0.1191, allocations: 2.703 MB / 429.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.1204, allocations: 55.62 kB / 429.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001959/0.1223, allocations: 0.6331 MB / 430.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.1245, allocations: 0.664 MB / 430.8 MB, free: 292 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008545/0.1253, allocations: 291.6 kB / 431.1 MB, free: 0 / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002855/0.1282, allocations: 2.031 MB / 433.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.1297, allocations: 1.026 MB / 434.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.131, allocations: 0.8955 MB / 435 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.1324, allocations: 1.101 MB / 436.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000337/0.1328, allocations: 228 kB / 436.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000653/0.1334, allocations: 319.8 kB / 436.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006785/0.1341, allocations: 0.6427 MB / 437.3 MB, free: 9.699 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.1353, allocations: 1.031 MB / 438.3 MB, free: 8.664 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003465/0.1387, allocations: 2.993 MB / 441.3 MB, free: 5.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.1387, allocations: 3.984 kB / 441.3 MB, free: 5.656 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1387, allocations: 0 / 441.3 MB, free: 5.656 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.49e-05/0.1388, allocations: 4 kB / 441.3 MB, free: 5.652 MB / 366.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.004497/0.1433, allocations: 2.178 MB / 443.5 MB, free: 3.414 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1433, allocations: 8.031 kB / 443.5 MB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.198e-05/0.1434, allocations: 39.19 kB / 443.5 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003061/0.1437, allocations: 236 kB / 443.8 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005986/0.1443, allocations: 219.7 kB / 444 MB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.1462, allocations: 1.142 MB / 445.1 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.921e-05/0.1463, allocations: 115.1 kB / 445.2 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002506/0.1466, allocations: 167.9 kB / 445.4 MB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1799/0.3265, allocations: 1.949 MB / 447.4 MB, free: 28.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.32e-05/0.3266, allocations: 5.406 kB / 447.4 MB, free: 28.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/0.3267, allocations: 65.19 kB / 447.4 MB, free: 28.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.098e-05/0.3268, allocations: 77.25 kB / 447.5 MB, free: 28.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002385/0.3292, allocations: 1.582 MB / 449.1 MB, free: 28.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008907/0.3381, allocations: 6.292 MB / 455.4 MB, free: 26.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.3396, allocations: 0.8052 MB / 456.2 MB, free: 25.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009249/0.3405, allocations: 0.5395 MB / 456.7 MB, free: 25.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002209/0.3408, allocations: 117.9 kB / 456.8 MB, free: 25.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3408, allocations: 43.25 kB / 456.9 MB, free: 25.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.965e-06/0.3408, allocations: 3.312 kB / 456.9 MB, free: 25.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01386/0.3547, allocations: 5.85 MB / 462.7 MB, free: 23.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.3547, allocations: 60.94 kB / 462.8 MB, free: 23.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.3564, allocations: 1.143 MB / 463.9 MB, free: 22.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.753e-05/0.3564, allocations: 40.45 kB / 464 MB, free: 22.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004853/0.3569, allocations: 0.7927 MB / 464.8 MB, free: 22.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/0.3572, allocations: 311.6 kB / 465.1 MB, free: 22.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/0.3575, allocations: 214.1 kB / 465.3 MB, free: 21.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.992e-05/0.3576, allocations: 353 kB / 465.6 MB, free: 21.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007927/0.3584, allocations: 0.5433 MB / 466.2 MB, free: 21.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009188/0.3593, allocations: 0.8795 MB / 467 MB, free: 20.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/0.3611, allocations: 1.527 MB / 468.6 MB, free: 19.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.498e-05/0.3611, allocations: 2.5 kB / 468.6 MB, free: 19.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003207/0.3643, allocations: 2.037 MB / 470.6 MB, free: 18.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.3643, allocations: 13.19 kB / 470.6 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/0.3643, allocations: 13 kB / 470.6 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/0.3657, allocations: 0.555 MB / 471.2 MB, free: 18.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008426/0.3666, allocations: 243.5 kB / 471.4 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006868/0.3735, allocations: 8.659 MB / 480.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009983/0.3744, allocations: 77.83 kB / 480.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.3746, allocations: 47.09 kB / 480.2 MB, free: 10.75 MB / 366.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.0008168/0.3754, allocations: 0.5165 MB / 480.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/0.3757, allocations: 131 kB / 480.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002786/0.3785, allocations: 1.757 MB / 482.6 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.393e-06/0.3785, allocations: 11.86 kB / 482.6 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.3785, allocations: 3.938 kB / 482.6 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.3785, allocations: 7.922 kB / 482.6 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006049/0.3846, allocations: 3.731 MB / 486.4 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.3846, allocations: 0 / 486.4 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004946/0.3851, allocations: 124.3 kB / 486.5 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/0.3865, allocations: 0.5949 MB / 487.1 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.658e-05/0.3866, allocations: 27.67 kB / 487.1 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0067/0.3933, allocations: 7.699 MB / 494.8 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.3933, allocations: 7.938 kB / 494.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004328/0.3976, allocations: 2.473 MB / 497.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007605/0.3984, allocations: 328.1 kB / 497.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002852/0.3987, allocations: 20 kB / 497.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007883/0.3994, allocations: 55.94 kB / 497.7 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.3996, allocations: 72.48 kB / 497.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.981e-05/0.3997, allocations: 24 kB / 497.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001486/0.4012, allocations: 0.7854 MB / 498.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4012, allocations: 0 / 498.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001782/0.403, allocations: 372 kB / 498.9 MB, free: 10.61 MB / 382.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.004884/0.4079, allocations: 3.104 MB / 0.4903 GB, free: 7.441 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003642/0.4115, allocations: 2.086 MB / 0.4923 GB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.4115, allocations: 0 / 0.4923 GB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002259/0.4138, allocations: 1.264 MB / 0.4935 GB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/0.4158, allocations: 373.1 kB / 0.4939 GB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02324/0.4391, allocations: 13.66 MB / 0.5072 GB, free: 5.395 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/0.4406, allocations: 1.456 MB / 0.5087 GB, free: 3.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008966/0.4415, allocations: 259.1 kB / 0.5089 GB, free: 3.652 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000877/0.4423, allocations: 0.5695 MB / 0.5095 GB, free: 3.082 MB / 398.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4423, allocations: 0 / 0.5095 GB, free: 3.082 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08417/0.5265, allocations: 35.31 MB / 0.5439 GB, free: 188 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.34/17.87, allocations: 15.61 kB / 0.544 GB, free: 172 kB / 430.1 MB " [Timeout remaining time 642] (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: 20.394119439995848] 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'] 18.03013585798908 18.056658627 17.913015761 Calling exit ...