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.001826/0.001826, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002518/0.002518, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.53/1.53, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.001896/0.001896, allocations: 63.89 kB / 378.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2675, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01201/0.2795, allocations: 9.519 MB / 441.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006191/0.2857, allocations: 3.08 MB / 444.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.287, allocations: 59.62 kB / 444.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.2888, allocations: 0.6678 MB / 445.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002604/0.2914, allocations: 0.8157 MB / 446.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009131/0.2923, allocations: 375.4 kB / 446.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004014/0.2963, allocations: 2.683 MB / 449.1 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001971/0.2983, allocations: 1.16 MB / 450.3 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/0.3004, allocations: 1.227 MB / 451.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002877/0.3033, allocations: 1.545 MB / 453.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006586/0.304, allocations: 308 kB / 453.4 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.3051, allocations: 411.8 kB / 453.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.3061, allocations: 0.8959 MB / 454.6 MB, free: 44 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001866/0.3079, allocations: 1.408 MB / 456.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005272/0.3132, allocations: 4.126 MB / 460.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3132, allocations: 0 / 460.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3132, allocations: 0 / 460.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001274/0.3134, allocations: 0 / 460.2 MB, free: 10.48 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.006921/0.3203, allocations: 2.857 MB / 463 MB, free: 7.578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.3203, allocations: 11.97 kB / 463.1 MB, free: 7.566 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004605/0.3208, allocations: 299.5 kB / 463.3 MB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.3219, allocations: 339.1 kB / 463.7 MB, free: 6.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003046/0.325, allocations: 1.484 MB / 465.2 MB, free: 5.402 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.3251, allocations: 156.2 kB / 465.3 MB, free: 5.246 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003395/0.3254, allocations: 204 kB / 465.5 MB, free: 5.047 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005226/0.3307, allocations: 2.736 MB / 468.2 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.2e-05/0.3307, allocations: 7.953 kB / 468.3 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001954/0.3309, allocations: 83.98 kB / 468.3 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/0.331, allocations: 99.92 kB / 468.4 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004369/0.3354, allocations: 2.323 MB / 470.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01434/0.3498, allocations: 8.196 MB / 479 MB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002089/0.3518, allocations: 1.249 MB / 480.2 MB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001974/0.3538, allocations: 1.019 MB / 481.2 MB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002331/0.3541, allocations: 52.95 kB / 481.3 MB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.3541, allocations: 43.56 kB / 481.3 MB, free: 4.902 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.005e-06/0.3541, allocations: 0 / 481.3 MB, free: 4.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01367/0.3678, allocations: 5.932 MB / 487.2 MB, free: 14.92 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.3678, allocations: 64.41 kB / 487.3 MB, free: 14.85 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002582/0.3704, allocations: 1.529 MB / 488.8 MB, free: 13.31 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001391/0.3705, allocations: 45.7 kB / 488.9 MB, free: 13.26 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000877/0.3714, allocations: 1.013 MB / 489.9 MB, free: 12.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004169/0.3718, allocations: 432.3 kB / 490.3 MB, free: 11.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004236/0.3723, allocations: 251.5 kB / 490.6 MB, free: 11.56 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.3725, allocations: 361.9 kB / 490.9 MB, free: 11.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.3737, allocations: 0.7339 MB / 491.7 MB, free: 10.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.3753, allocations: 1.055 MB / 492.7 MB, free: 9.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002867/0.3781, allocations: 1.879 MB / 494.6 MB, free: 7.273 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.3781, allocations: 4 kB / 494.6 MB, free: 7.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004422/0.3826, allocations: 2.354 MB / 496.9 MB, free: 4.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.3826, allocations: 8 kB / 497 MB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.3826, allocations: 8 kB / 497 MB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.3837, allocations: 411.5 kB / 497.4 MB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.3849, allocations: 331.5 kB / 497.7 MB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005759/0.3907, allocations: 4.859 MB / 0.4908 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.392, allocations: 107.9 kB / 0.4909 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.3922, allocations: 51.98 kB / 0.4909 GB, free: 14.89 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.001224/0.3934, allocations: 0.712 MB / 0.4916 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003347/0.3937, allocations: 166.9 kB / 0.4918 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003942/0.3977, allocations: 2.141 MB / 0.4939 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.3977, allocations: 12 kB / 0.4939 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.3977, allocations: 4 kB / 0.4939 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.3977, allocations: 3.984 kB / 0.4939 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008799/0.4065, allocations: 4.533 MB / 0.4983 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.4065, allocations: 4 kB / 0.4983 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009954/0.4075, allocations: 223.7 kB / 0.4985 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001331/0.4088, allocations: 475.1 kB / 0.499 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.381e-05/0.4089, allocations: 27.98 kB / 0.499 GB, free: 6.473 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007463/0.4164, allocations: 6.382 MB / 0.5052 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.4164, allocations: 8.016 kB / 0.5052 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005733/0.4221, allocations: 3.177 MB / 0.5084 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.4232, allocations: 334.8 kB / 0.5087 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002661/0.4234, allocations: 35.92 kB / 0.5087 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008551/0.4243, allocations: 75.92 kB / 0.5088 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/0.4246, allocations: 104.7 kB / 0.5089 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-05/0.4247, allocations: 35.98 kB / 0.5089 GB, free: 11.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001769/0.4265, allocations: 1.056 MB / 0.5099 GB, free: 10.87 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4265, allocations: 4 kB / 0.5099 GB, free: 10.87 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001526/0.428, allocations: 464 kB / 0.5104 GB, free: 10.41 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.006054/0.434, allocations: 3.819 MB / 0.5141 GB, free: 6.527 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004245/0.4383, allocations: 2.045 MB / 0.5161 GB, free: 4.453 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.687e-06/0.4383, allocations: 0 / 0.5161 GB, free: 4.453 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002677/0.441, allocations: 1.366 MB / 0.5174 GB, free: 3.047 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/0.4434, allocations: 445.5 kB / 0.5179 GB, free: 2.617 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03071/0.4742, allocations: 17.51 MB / 0.535 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2406/0.7147, allocations: 1.833 MB / 0.5368 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00177/0.7165, allocations: 398.7 kB / 0.5371 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/0.7177, allocations: 0.8 MB / 0.5379 GB, free: 102.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.272e-06/0.7177, allocations: 0 / 0.5379 GB, free: 102.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08788/0.8056, allocations: 44.77 MB / 0.5816 GB, free: 66.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.96/21.76, allocations: 18.56 kB / 0.5817 GB, free: 66.85 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 & 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: 24.434381210710853] 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.87178151588887 21.880988997 21.56536687 Calling exit ...