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_DOL.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.001286/0.001286, allocations: 121.4 kB / 18.5 MB, free: 4.52 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.001438/0.001438, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.437/1.437, allocations: 230.5 MB / 254.8 MB, free: 15.25 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-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_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",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.001953/0.001953, allocations: 68.02 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1097, allocations: 53.34 MB / 427 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01226/0.122, allocations: 9.461 MB / 436.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006043/0.128, allocations: 3.069 MB / 439.6 MB, free: 8.219 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.1291, allocations: 59.62 kB / 439.6 MB, free: 8.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.1307, allocations: 0.6755 MB / 440.3 MB, free: 7.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002128/0.1328, allocations: 0.8079 MB / 441.1 MB, free: 6.668 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000746/0.1336, allocations: 359.5 kB / 441.4 MB, free: 6.316 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002988/0.1366, allocations: 2.673 MB / 444.1 MB, free: 3.633 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001909/0.1385, allocations: 1.534 MB / 445.7 MB, free: 2.031 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.1402, allocations: 1.226 MB / 446.9 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.205/0.3452, allocations: 1.529 MB / 448.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008014/0.346, allocations: 310.1 kB / 448.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.347, allocations: 417 kB / 449.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007249/0.3477, allocations: 0.8972 MB / 450 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.349, allocations: 1.404 MB / 451.4 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005441/0.3545, allocations: 4.118 MB / 455.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.3545, allocations: 5.031 kB / 455.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3545, allocations: 4.531 kB / 455.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001318/0.3546, allocations: 1.781 kB / 455.5 MB, free: 10.41 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007066/0.3617, allocations: 2.934 MB / 458.5 MB, free: 9.113 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.3617, allocations: 9.219 kB / 458.5 MB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004354/0.3621, allocations: 294.4 kB / 458.8 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.3633, allocations: 333.1 kB / 459.1 MB, free: 8.918 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002688/0.366, allocations: 1.567 MB / 460.7 MB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.3661, allocations: 154 kB / 460.8 MB, free: 8.117 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/0.3664, allocations: 214 kB / 461 MB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004492/0.3709, allocations: 2.728 MB / 463.8 MB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.104e-05/0.3709, allocations: 7.406 kB / 463.8 MB, free: 6.918 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001954/0.3711, allocations: 82.25 kB / 463.8 MB, free: 6.855 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.3712, allocations: 98.22 kB / 463.9 MB, free: 6.844 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003956/0.3752, allocations: 2.323 MB / 466.3 MB, free: 6.043 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01241/0.3876, allocations: 8.334 MB / 474.6 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.3895, allocations: 1.71 MB / 476.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001967/0.3914, allocations: 1.005 MB / 477.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002591/0.3917, allocations: 124.8 kB / 477.4 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.3917, allocations: 49.05 kB / 477.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.126e-06/0.3917, allocations: 4 kB / 477.5 MB, free: 15.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01381/0.4055, allocations: 6.222 MB / 483.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.4056, allocations: 64.38 kB / 483.8 MB, free: 11.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/0.4081, allocations: 1.534 MB / 485.3 MB, free: 10.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.4082, allocations: 46.95 kB / 485.4 MB, free: 10.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000856/0.4091, allocations: 1.023 MB / 486.4 MB, free: 9.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003886/0.4094, allocations: 439 kB / 486.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004343/0.4099, allocations: 252.1 kB / 487.1 MB, free: 9.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.4101, allocations: 358.1 kB / 487.4 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.4112, allocations: 0.7349 MB / 488.1 MB, free: 8.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.4127, allocations: 1.052 MB / 489.2 MB, free: 7.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00251/0.4152, allocations: 1.879 MB / 491.1 MB, free: 6.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.4152, allocations: 3.812 kB / 491.1 MB, free: 6.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003891/0.4191, allocations: 2.357 MB / 493.4 MB, free: 5.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.4191, allocations: 8 kB / 493.4 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.4191, allocations: 8 kB / 493.4 MB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.4202, allocations: 409.2 kB / 493.8 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.4214, allocations: 327.9 kB / 494.2 MB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005803/0.4272, allocations: 5.069 MB / 499.2 MB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.4288, allocations: 91.8 kB / 499.3 MB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.429, allocations: 56 kB / 499.4 MB, free: 15.36 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00151/0.4305, allocations: 0.7137 MB / 0.4884 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004004/0.4309, allocations: 172 kB / 0.4885 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004033/0.4349, allocations: 2.131 MB / 0.4906 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.4349, allocations: 15.98 kB / 0.4906 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.4349, allocations: 4 kB / 0.4906 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.4349, allocations: 3.984 kB / 0.4906 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008251/0.4432, allocations: 4.58 MB / 0.4951 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.4432, allocations: 4 kB / 0.4951 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009641/0.4442, allocations: 213.9 kB / 0.4953 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/0.4455, allocations: 470.5 kB / 0.4958 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.692e-05/0.4456, allocations: 31.98 kB / 0.4958 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006854/0.4524, allocations: 6.685 MB / 0.5023 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4524, allocations: 4.031 kB / 0.5023 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005309/0.4577, allocations: 3.187 MB / 0.5054 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/0.4588, allocations: 407.9 kB / 0.5058 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/0.459, allocations: 27.98 kB / 0.5059 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008694/0.4599, allocations: 71.92 kB / 0.5059 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000286/0.4601, allocations: 112.8 kB / 0.506 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.682e-05/0.4602, allocations: 35.98 kB / 0.5061 GB, free: 12.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001742/0.462, allocations: 1.056 MB / 0.5071 GB, free: 11 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.462, allocations: 0 / 0.5071 GB, free: 11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001645/0.4636, allocations: 460 kB / 0.5075 GB, free: 10.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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 {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005735/0.4694, allocations: 3.819 MB / 0.5113 GB, free: 6.699 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003912/0.4733, allocations: 2.19 MB / 0.5134 GB, free: 4.484 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.4733, allocations: 4.562 kB / 0.5134 GB, free: 4.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002381/0.4757, allocations: 1.439 MB / 0.5148 GB, free: 3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.4779, allocations: 446 kB / 0.5152 GB, free: 2.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0284/0.5063, allocations: 17.48 MB / 0.5323 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001704/0.508, allocations: 1.834 MB / 0.5341 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00118/0.5092, allocations: 394.2 kB / 0.5345 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/0.5103, allocations: 0.8039 MB / 0.5353 GB, free: 13.58 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5103, allocations: 4 kB / 0.5353 GB, free: 13.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09809/0.6084, allocations: 43.78 MB / 0.578 GB, free: 2.289 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.25/20.86, allocations: 10.44 kB / 0.578 GB, free: 2.281 MB / 478.1 MB " [Timeout remaining time 639] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.388423998840153] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.is[1]', 'aimc.is[2]', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'loadInertia.phi', 'loadInertia.w'] 20.962129370775074 20.976613957 20.618870713 Calling exit ...