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.001309/0.001309, allocations: 109 kB / 21.23 MB, free: 0.6719 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.001432/0.001432, allocations: 209.2 kB / 24.53 MB, free: 4.035 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.424/1.424, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.001926/0.001926, allocations: 68.77 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2833, allocations: 53.37 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01262/0.2959, allocations: 9.527 MB / 441.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006754/0.3027, allocations: 3.073 MB / 444.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/0.3044, allocations: 59.62 kB / 444.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001905/0.3063, allocations: 0.6756 MB / 445.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003144/0.3095, allocations: 0.8118 MB / 446.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.3106, allocations: 371.4 kB / 446.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004491/0.3151, allocations: 2.681 MB / 449.1 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001807/0.3169, allocations: 1.156 MB / 450.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.319, allocations: 1.23 MB / 451.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002459/0.3215, allocations: 1.545 MB / 453.1 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005894/0.3221, allocations: 308 kB / 453.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000971/0.323, allocations: 411.8 kB / 453.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.3241, allocations: 0.8998 MB / 454.7 MB, free: 24 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002106/0.3262, allocations: 1.412 MB / 456.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004847/0.331, allocations: 4.118 MB / 460.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.331, allocations: 0 / 460.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.331, allocations: 0 / 460.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.352e-05/0.3311, allocations: 0 / 460.2 MB, free: 10.47 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.005946/0.3371, allocations: 2.861 MB / 463 MB, free: 7.562 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.3371, allocations: 8.031 kB / 463.1 MB, free: 7.555 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003972/0.3375, allocations: 299.5 kB / 463.3 MB, free: 7.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009919/0.3385, allocations: 335.1 kB / 463.7 MB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002832/0.3413, allocations: 1.484 MB / 465.2 MB, free: 5.395 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.3415, allocations: 160.1 kB / 465.3 MB, free: 5.234 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003211/0.3418, allocations: 200 kB / 465.5 MB, free: 5.039 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004694/0.3465, allocations: 2.736 MB / 468.2 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.094e-05/0.3465, allocations: 11.94 kB / 468.3 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/0.3467, allocations: 84 kB / 468.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.3469, allocations: 91.94 kB / 468.4 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004107/0.351, allocations: 2.33 MB / 470.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01413/0.3651, allocations: 8.189 MB / 478.9 MB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.3673, allocations: 1.258 MB / 480.2 MB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002019/0.3693, allocations: 1.015 MB / 481.2 MB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002295/0.3696, allocations: 44.95 kB / 481.3 MB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.3696, allocations: 47.56 kB / 481.3 MB, free: 4.895 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.956e-06/0.3696, allocations: 3.938 kB / 481.3 MB, free: 4.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01344/0.383, allocations: 5.928 MB / 487.2 MB, free: 14.92 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.3831, allocations: 64.41 kB / 487.3 MB, free: 14.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.3854, allocations: 1.529 MB / 488.8 MB, free: 13.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.3855, allocations: 45.7 kB / 488.9 MB, free: 13.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008069/0.3863, allocations: 1.017 MB / 489.9 MB, free: 12.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003896/0.3867, allocations: 432.3 kB / 490.3 MB, free: 11.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004094/0.3871, allocations: 251.5 kB / 490.6 MB, free: 11.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.3873, allocations: 365.9 kB / 490.9 MB, free: 11.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.3885, allocations: 0.7339 MB / 491.7 MB, free: 10.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.3899, allocations: 1.052 MB / 492.7 MB, free: 9.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002764/0.3927, allocations: 1.886 MB / 494.6 MB, free: 7.258 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.3927, allocations: 0 / 494.6 MB, free: 7.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00423/0.3969, allocations: 2.354 MB / 496.9 MB, free: 4.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.397, allocations: 8.344 kB / 497 MB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.397, allocations: 12 kB / 497 MB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.398, allocations: 414.4 kB / 497.4 MB, free: 4.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.3993, allocations: 327.5 kB / 497.7 MB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005586/0.4049, allocations: 4.868 MB / 0.4908 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.4062, allocations: 87.86 kB / 0.4909 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.4063, allocations: 55.98 kB / 0.4909 GB, free: 14.88 MB / 414.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.001214/0.4075, allocations: 0.7098 MB / 0.4916 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/0.4078, allocations: 175 kB / 0.4918 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00377/0.4116, allocations: 2.125 MB / 0.4939 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.4116, allocations: 12 kB / 0.4939 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.4116, allocations: 4 kB / 0.4939 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.4116, allocations: 11.97 kB / 0.4939 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007997/0.4196, allocations: 4.541 MB / 0.4983 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.4196, allocations: 4 kB / 0.4983 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009901/0.4206, allocations: 227.9 kB / 0.4985 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.4219, allocations: 470.4 kB / 0.499 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.982e-05/0.422, allocations: 31.98 kB / 0.499 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006996/0.429, allocations: 6.368 MB / 0.5052 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.429, allocations: 4.031 kB / 0.5052 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005233/0.4342, allocations: 3.197 MB / 0.5084 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.4352, allocations: 334.7 kB / 0.5087 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.4354, allocations: 28 kB / 0.5087 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000815/0.4363, allocations: 75.91 kB / 0.5088 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/0.4365, allocations: 108.7 kB / 0.5089 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-05/0.4366, allocations: 36 kB / 0.5089 GB, free: 11.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001555/0.4382, allocations: 1.06 MB / 0.5099 GB, free: 10.85 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4382, allocations: 0 / 0.5099 GB, free: 10.85 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0014/0.4396, allocations: 460 kB / 0.5104 GB, free: 10.4 MB / 430.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.005664/0.4452, allocations: 3.817 MB / 0.5141 GB, free: 6.516 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003639/0.4489, allocations: 2.051 MB / 0.5161 GB, free: 4.434 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4489, allocations: 1.875 kB / 0.5161 GB, free: 4.434 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002276/0.4512, allocations: 1.358 MB / 0.5174 GB, free: 3.035 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/0.4531, allocations: 445.9 kB / 0.5179 GB, free: 2.605 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02804/0.4812, allocations: 17.5 MB / 0.535 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2184/0.6995, allocations: 1.822 MB / 0.5367 GB, free: 102.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001487/0.701, allocations: 401.2 kB / 0.5371 GB, free: 102.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/0.702, allocations: 0.8075 MB / 0.5379 GB, free: 102.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.303e-06/0.702, allocations: 0 / 0.5379 GB, free: 102.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08219/0.7842, allocations: 44.78 MB / 0.5817 GB, free: 66.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.97/21.76, allocations: 14.56 kB / 0.5817 GB, free: 66.63 MB / 446.1 MB " [Timeout remaining time 638] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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: 24.42972924094647] 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'] 21.868424797430634 21.886279247 21.551176409 Calling exit ...