Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001445/0.001445, allocations: 105 kB / 19.74 MB, free: 2.453 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.00165/0.00165, allocations: 216.5 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.283/1.283, allocations: 230.4 MB / 256.4 MB, free: 8.262 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_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-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 71.83 kB / 376.1 MB, free: 4.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2178, allocations: 53.32 MB / 429.4 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.009286/0.227, allocations: 8.284 MB / 437.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004699/0.2317, allocations: 2.761 MB / 440.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000585/0.2323, allocations: 39.81 kB / 440.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.2338, allocations: 0.6409 MB / 441.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.235, allocations: 0.664 MB / 441.8 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005044/0.2356, allocations: 299.5 kB / 442.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001962/0.2375, allocations: 2.035 MB / 444.1 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.2385, allocations: 0.831 MB / 445 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.2397, allocations: 0.8994 MB / 445.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.241, allocations: 1.098 MB / 447 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002831/0.2413, allocations: 228 kB / 447.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005379/0.2418, allocations: 315.8 kB / 447.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006037/0.2424, allocations: 0.6466 MB / 448.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009404/0.2434, allocations: 1.031 MB / 449.2 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002758/0.2461, allocations: 3.013 MB / 452.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2461, allocations: 0 / 452.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2461, allocations: 0 / 452.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.795e-05/0.2462, allocations: 0 / 452.2 MB, free: 0.543 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.003554/0.2497, allocations: 2.188 MB / 454.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.2498, allocations: 8.031 kB / 454.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002593/0.25, allocations: 228.1 kB / 454.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005249/0.2505, allocations: 227.6 kB / 454.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.2522, allocations: 1.146 MB / 456 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.031e-05/0.2522, allocations: 115.1 kB / 456.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.2525, allocations: 159.9 kB / 456.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002789/0.2553, allocations: 1.955 MB / 458.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.246e-05/0.2553, allocations: 11.94 kB / 458.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.2554, allocations: 60 kB / 458.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-05/0.2555, allocations: 74.92 kB / 458.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.2579, allocations: 1.585 MB / 459.9 MB, free: 8.637 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008474/0.2664, allocations: 6.298 MB / 466.2 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.2676, allocations: 0.7966 MB / 467 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009215/0.2686, allocations: 0.5457 MB / 467.6 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/0.2688, allocations: 117.6 kB / 467.7 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.2688, allocations: 43.06 kB / 467.7 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.234e-06/0.2688, allocations: 0 / 467.7 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01254/0.2813, allocations: 5.85 MB / 473.6 MB, free: 10.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.2814, allocations: 64.41 kB / 473.6 MB, free: 10.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.283, allocations: 1.149 MB / 474.8 MB, free: 9.336 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.548e-05/0.283, allocations: 41.7 kB / 474.8 MB, free: 9.289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005943/0.2836, allocations: 0.7925 MB / 475.6 MB, free: 8.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/0.2839, allocations: 317.3 kB / 475.9 MB, free: 8.176 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003207/0.2842, allocations: 206.9 kB / 476.1 MB, free: 7.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.2844, allocations: 353.9 kB / 476.5 MB, free: 7.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007617/0.2851, allocations: 0.5413 MB / 477 MB, free: 7.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.2861, allocations: 0.8796 MB / 477.9 MB, free: 6.043 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/0.288, allocations: 1.527 MB / 479.4 MB, free: 4.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.288, allocations: 4 kB / 479.4 MB, free: 4.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003358/0.2914, allocations: 2.048 MB / 481.5 MB, free: 2.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.2914, allocations: 19.06 kB / 481.5 MB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.2914, allocations: 8 kB / 481.5 MB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00143/0.2929, allocations: 0.5478 MB / 482 MB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007888/0.2937, allocations: 243.6 kB / 482.3 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00845/0.3021, allocations: 8.659 MB / 490.9 MB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00097/0.3031, allocations: 71.89 kB / 491 MB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.408e-05/0.3032, allocations: 51.98 kB / 491.1 MB, free: 8.121 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.0008711/0.304, allocations: 0.517 MB / 491.6 MB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/0.3042, allocations: 127.2 kB / 491.7 MB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/0.3072, allocations: 1.759 MB / 493.5 MB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.3072, allocations: 8.094 kB / 493.5 MB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3072, allocations: 7.984 kB / 493.5 MB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.3072, allocations: 3.984 kB / 493.5 MB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005713/0.3129, allocations: 3.733 MB / 497.2 MB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.3129, allocations: 4 kB / 497.2 MB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/0.3134, allocations: 132 kB / 497.3 MB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.3149, allocations: 0.5809 MB / 497.9 MB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.334e-05/0.3149, allocations: 27.98 kB / 498 MB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007874/0.3228, allocations: 7.713 MB / 0.4938 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3228, allocations: 7.938 kB / 0.4938 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003614/0.3264, allocations: 2.48 MB / 0.4962 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005072/0.3269, allocations: 312.5 kB / 0.4965 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.3271, allocations: 23.94 kB / 0.4966 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006154/0.3277, allocations: 63.92 kB / 0.4966 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.3278, allocations: 68.5 kB / 0.4967 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/0.3279, allocations: 24 kB / 0.4967 GB, free: 5.926 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001076/0.329, allocations: 0.7895 MB / 0.4975 GB, free: 5.129 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.329, allocations: 4 kB / 0.4975 GB, free: 5.125 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001212/0.3302, allocations: 379.9 kB / 0.4979 GB, free: 4.754 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.003953/0.3341, allocations: 3.097 MB / 0.5009 GB, free: 1.594 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003182/0.3373, allocations: 2.076 MB / 0.5029 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3373, allocations: 0 / 0.5029 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001933/0.3392, allocations: 1.26 MB / 0.5041 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.3408, allocations: 385.1 kB / 0.5045 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01867/0.3595, allocations: 13.69 MB / 0.5179 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.3606, allocations: 1.46 MB / 0.5193 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007124/0.3613, allocations: 263 kB / 0.5195 GB, free: 13.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007041/0.362, allocations: 0.5696 MB / 0.5201 GB, free: 13.19 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.362, allocations: 0 / 0.5201 GB, free: 13.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2457/0.6077, allocations: 35.52 MB / 0.5548 GB, free: 120.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.41/16.02, allocations: 4.875 kB / 0.5548 GB, free: 120.8 MB / 462.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking_fmu --startTime=0 --stopTime=25 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.28981428199768]