Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001554/0.001554, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001795/0.001795, allocations: 216.9 kB / 24.53 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.5 MB / 258.2 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 55.91 kB / 378.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2616, allocations: 53.41 MB / 432 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01021/0.2718, allocations: 8.287 MB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005844/0.2777, allocations: 2.77 MB / 443 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.279, allocations: 55.62 kB / 443.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00209/0.2811, allocations: 0.6442 MB / 443.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002475/0.2836, allocations: 0.668 MB / 444.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000907/0.2845, allocations: 291.5 kB / 444.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002995/0.2875, allocations: 2.047 MB / 446.7 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.289, allocations: 0.8315 MB / 447.6 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/0.2907, allocations: 0.9189 MB / 448.5 MB, free: 6.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.2926, allocations: 1.094 MB / 449.6 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006702/0.2933, allocations: 228 kB / 449.8 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.2944, allocations: 323.8 kB / 450.1 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.2955, allocations: 0.6427 MB / 450.8 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002176/0.2977, allocations: 1.031 MB / 451.8 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004221/0.3019, allocations: 3.013 MB / 454.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3019, allocations: 0 / 454.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3019, allocations: 0 / 454.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.475e-05/0.302, allocations: 0 / 454.8 MB, free: 15.72 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.004905/0.3069, allocations: 2.107 MB / 456.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.307, allocations: 12.03 kB / 456.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.51e-05/0.307, allocations: 39.19 kB / 457 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003322/0.3074, allocations: 228 kB / 457.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006905/0.3081, allocations: 223.7 kB / 457.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002273/0.3103, allocations: 1.074 MB / 458.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.3104, allocations: 122.9 kB / 458.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003025/0.3107, allocations: 152 kB / 458.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003446/0.3142, allocations: 1.963 MB / 460.7 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.305e-05/0.3142, allocations: 3.953 kB / 460.7 MB, free: 9.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.3144, allocations: 64 kB / 460.8 MB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.3145, allocations: 78.91 kB / 460.8 MB, free: 9.539 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002883/0.3174, allocations: 1.581 MB / 462.4 MB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/0.3278, allocations: 6.176 MB / 468.6 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.3293, allocations: 0.7318 MB / 469.3 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009986/0.3303, allocations: 0.5459 MB / 469.9 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002013/0.3305, allocations: 44.61 kB / 469.9 MB, free: 236 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.3305, allocations: 39.22 kB / 470 MB, free: 188 kB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.056e-06/0.3305, allocations: 0 / 470 MB, free: 188 kB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01364/0.3442, allocations: 5.488 MB / 475.5 MB, free: 10.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.3442, allocations: 60.41 kB / 475.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.3459, allocations: 1.149 MB / 476.7 MB, free: 9.426 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.346, allocations: 41.7 kB / 476.7 MB, free: 9.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006177/0.3467, allocations: 0.7963 MB / 477.5 MB, free: 8.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/0.347, allocations: 321.3 kB / 477.8 MB, free: 8.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003364/0.3473, allocations: 202.9 kB / 478 MB, free: 8.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3475, allocations: 357.9 kB / 478.4 MB, free: 7.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008084/0.3483, allocations: 0.5452 MB / 478.9 MB, free: 7.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.3493, allocations: 0.8757 MB / 479.8 MB, free: 6.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/0.3513, allocations: 1.524 MB / 481.3 MB, free: 4.457 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.3513, allocations: 4 kB / 481.3 MB, free: 4.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003635/0.3549, allocations: 2.048 MB / 483.4 MB, free: 2.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/0.355, allocations: 11.94 kB / 483.4 MB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.355, allocations: 12 kB / 483.4 MB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.3565, allocations: 0.5477 MB / 483.9 MB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008876/0.3573, allocations: 243.6 kB / 484.2 MB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008896/0.3662, allocations: 8.246 MB / 492.4 MB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.3673, allocations: 76.03 kB / 492.5 MB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.3674, allocations: 52 kB / 492.5 MB, free: 8.723 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.0009263/0.3683, allocations: 0.5169 MB / 493.1 MB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/0.3686, allocations: 127.2 kB / 493.2 MB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003226/0.3719, allocations: 1.759 MB / 494.9 MB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.3719, allocations: 12 kB / 494.9 MB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.3719, allocations: 4 kB / 494.9 MB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.3719, allocations: 4.078 kB / 495 MB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00695/0.3788, allocations: 3.702 MB / 498.7 MB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.3788, allocations: 112 / 498.7 MB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/0.3794, allocations: 131.7 kB / 498.8 MB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001643/0.3811, allocations: 0.5888 MB / 499.4 MB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.085e-05/0.3812, allocations: 23.98 kB / 499.4 MB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00896/0.3901, allocations: 7.403 MB / 0.4949 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.3901, allocations: 7.938 kB / 0.4949 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004134/0.3943, allocations: 2.473 MB / 0.4973 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008184/0.3951, allocations: 247 kB / 0.4976 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.3953, allocations: 20 kB / 0.4976 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006719/0.396, allocations: 55.94 kB / 0.4977 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.3962, allocations: 72.45 kB / 0.4977 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.087e-05/0.3962, allocations: 32.23 kB / 0.4978 GB, free: 7.039 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001194/0.3974, allocations: 0.7895 MB / 0.4985 GB, free: 6.242 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3974, allocations: 0 / 0.4985 GB, free: 6.242 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001417/0.3988, allocations: 375.9 kB / 0.4989 GB, free: 5.875 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.004487/0.4033, allocations: 3.108 MB / 0.5019 GB, free: 2.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003397/0.4067, allocations: 1.918 MB / 0.5038 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.4067, allocations: 4.062 kB / 0.5038 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002173/0.4089, allocations: 1.196 MB / 0.505 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.4108, allocations: 378.3 kB / 0.5053 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02223/0.433, allocations: 13.69 MB / 0.5187 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/0.4342, allocations: 1.464 MB / 0.5201 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000793/0.435, allocations: 259.1 kB / 0.5204 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007875/0.4358, allocations: 0.5657 MB / 0.5209 GB, free: 14.58 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4358, allocations: 0 / 0.5209 GB, free: 14.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2574/0.6932, allocations: 36.33 MB / 0.5564 GB, free: 90.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.78/19.47, allocations: 4.062 kB / 0.5564 GB, free: 90.6 MB / 446.1 MB " [Timeout remaining time 640] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking_fmu --startTime=0 --stopTime=25 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.168937721988186] 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.660621536022518 19.679126715 19.373200823 Calling exit ...