Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.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.001833/0.001833, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002248/0.002248, allocations: 205.8 kB / 23.73 MB, free: 4.379 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 51.92 kB / 377.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2584, allocations: 53.37 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.009585/0.268, allocations: 7.297 MB / 438.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004783/0.2728, allocations: 2.575 MB / 441 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006413/0.2734, allocations: 51.69 kB / 441 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.2749, allocations: 0.5901 MB / 441.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.2764, allocations: 0.6718 MB / 442.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006226/0.277, allocations: 299.5 kB / 442.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002443/0.2794, allocations: 2.039 MB / 444.6 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.2807, allocations: 0.8354 MB / 445.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.2819, allocations: 0.915 MB / 446.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.2835, allocations: 1.098 MB / 447.5 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003209/0.2838, allocations: 224 kB / 447.7 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006123/0.2844, allocations: 315.8 kB / 448 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000707/0.2851, allocations: 0.6466 MB / 448.6 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009509/0.2861, allocations: 0.8324 MB / 449.5 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003093/0.2891, allocations: 3.036 MB / 452.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2892, allocations: 0 / 452.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2892, allocations: 0 / 452.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.887e-05/0.2892, allocations: 0 / 452.5 MB, free: 1.098 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.003908/0.2931, allocations: 2.103 MB / 454.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.2931, allocations: 8.031 kB / 454.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002889/0.2934, allocations: 232.1 kB / 454.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006015/0.294, allocations: 227.6 kB / 455.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/0.2961, allocations: 1.07 MB / 456.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.2962, allocations: 115.1 kB / 456.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/0.2964, allocations: 156 kB / 456.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00321/0.2996, allocations: 2.063 MB / 458.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.191e-05/0.2997, allocations: 11.89 kB / 458.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.2998, allocations: 63.98 kB / 458.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.2999, allocations: 78.91 kB / 458.6 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/0.3025, allocations: 1.577 MB / 460.2 MB, free: 9.246 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009602/0.3121, allocations: 5.684 MB / 465.9 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.3135, allocations: 0.7357 MB / 466.6 MB, free: 2.609 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.3145, allocations: 0.5407 MB / 467.1 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/0.3147, allocations: 44.62 kB / 467.2 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.3147, allocations: 39.69 kB / 467.2 MB, free: 1.973 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.705e-06/0.3147, allocations: 0 / 467.2 MB, free: 1.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.0135/0.3282, allocations: 5.481 MB / 472.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.3283, allocations: 60.41 kB / 472.8 MB, free: 12.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/0.3299, allocations: 1.176 MB / 473.9 MB, free: 11.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.199e-05/0.33, allocations: 41.7 kB / 474 MB, free: 11.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000624/0.3307, allocations: 0.7847 MB / 474.8 MB, free: 10.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000297/0.3309, allocations: 321.3 kB / 475.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003413/0.3313, allocations: 206.9 kB / 475.3 MB, free: 9.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3315, allocations: 353.9 kB / 475.6 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008452/0.3323, allocations: 0.5452 MB / 476.2 MB, free: 8.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.3334, allocations: 0.8796 MB / 477.1 MB, free: 7.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/0.3355, allocations: 1.524 MB / 478.6 MB, free: 6.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/0.3355, allocations: 4 kB / 478.6 MB, free: 6.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00359/0.3391, allocations: 2.044 MB / 480.6 MB, free: 4.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.3391, allocations: 15.94 kB / 480.6 MB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.3391, allocations: 12 kB / 480.7 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.3405, allocations: 0.5438 MB / 481.2 MB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008344/0.3414, allocations: 247.6 kB / 481.4 MB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009057/0.3504, allocations: 8.202 MB / 489.6 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.3515, allocations: 67.88 kB / 489.7 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.3517, allocations: 52.14 kB / 489.8 MB, free: 10.55 MB / 398.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.000884/0.3525, allocations: 0.513 MB / 490.3 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/0.3528, allocations: 135.1 kB / 490.4 MB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003126/0.3559, allocations: 1.759 MB / 492.2 MB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.3559, allocations: 8 kB / 492.2 MB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.3559, allocations: 4 kB / 492.2 MB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.3559, allocations: 3.984 kB / 492.2 MB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0066/0.3625, allocations: 3.519 MB / 495.7 MB, free: 4.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.3625, allocations: 7.938 kB / 495.7 MB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005478/0.3631, allocations: 123.8 kB / 495.8 MB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001666/0.3648, allocations: 0.5888 MB / 496.4 MB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-05/0.3648, allocations: 23.98 kB / 496.4 MB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008683/0.3735, allocations: 7.338 MB / 0.492 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.3735, allocations: 4.062 kB / 0.492 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004032/0.3776, allocations: 2.488 MB / 0.4944 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007347/0.3783, allocations: 247.1 kB / 0.4946 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.3785, allocations: 23.94 kB / 0.4947 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006481/0.3791, allocations: 55.92 kB / 0.4947 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.3793, allocations: 68.53 kB / 0.4948 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-05/0.3794, allocations: 23.98 kB / 0.4948 GB, free: 9.105 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001146/0.3805, allocations: 0.7895 MB / 0.4956 GB, free: 8.309 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3805, allocations: 7.938 kB / 0.4956 GB, free: 8.301 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001281/0.3818, allocations: 375.9 kB / 0.4959 GB, free: 7.934 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.004421/0.3862, allocations: 3.097 MB / 0.499 GB, free: 4.777 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003276/0.3895, allocations: 1.918 MB / 0.5008 GB, free: 2.805 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.3895, allocations: 0 / 0.5008 GB, free: 2.805 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002036/0.3915, allocations: 1.208 MB / 0.502 GB, free: 1.555 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/0.3932, allocations: 374.4 kB / 0.5024 GB, free: 1.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02074/0.4139, allocations: 13.67 MB / 0.5157 GB, free: 2.977 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.415, allocations: 0.8747 MB / 0.5166 GB, free: 2.062 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007832/0.4158, allocations: 271 kB / 0.5168 GB, free: 1.793 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007851/0.4165, allocations: 0.5657 MB / 0.5174 GB, free: 1.227 MB / 430.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4165, allocations: 0 / 0.5174 GB, free: 1.227 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2769/0.6934, allocations: 38.42 MB / 0.5549 GB, free: 92.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.82, allocations: 7.406 kB / 0.5549 GB, free: 92.53 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking_fmu --startTime=0 --stopTime=25 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.323393371974817] 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'] 12.957868468976812 12.976629914 12.683874668 Calling exit ...