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_Initialize.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.001464/0.001464, allocations: 109 kB / 21.23 MB, free: 0.5117 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.001556/0.001556, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 8.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_Initialize,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",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.00196/0.00196, allocations: 64.77 kB / 378.6 MB, free: 3.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2843, allocations: 53.37 MB / 431.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01189/0.2962, allocations: 9.033 MB / 441 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006035/0.3022, allocations: 2.979 MB / 443.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.3036, allocations: 51.69 kB / 444 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.3054, allocations: 0.6446 MB / 444.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002451/0.3079, allocations: 0.7807 MB / 445.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007924/0.3087, allocations: 343.4 kB / 445.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002868/0.3115, allocations: 2.377 MB / 448.1 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.313, allocations: 1.028 MB / 449.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.3144, allocations: 1.094 MB / 450.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.3164, allocations: 1.374 MB / 451.6 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004204/0.3168, allocations: 280 kB / 451.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007372/0.3176, allocations: 391.8 kB / 452.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008462/0.3184, allocations: 0.8141 MB / 453.1 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001465/0.3199, allocations: 1.264 MB / 454.4 MB, free: 368 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004199/0.3241, allocations: 3.711 MB / 458.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3241, allocations: 0 / 458.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3241, allocations: 4 kB / 458.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.578e-05/0.3242, allocations: 0 / 458.1 MB, free: 12.63 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005272/0.3294, allocations: 2.583 MB / 460.7 MB, free: 10 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3295, allocations: 12.03 kB / 460.7 MB, free: 9.992 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003578/0.3298, allocations: 266 kB / 460.9 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009748/0.3308, allocations: 299.3 kB / 461.2 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/0.3333, allocations: 1.349 MB / 462.6 MB, free: 8.039 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.3335, allocations: 139.7 kB / 462.7 MB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003024/0.3338, allocations: 187.9 kB / 462.9 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00414/0.3379, allocations: 2.402 MB / 465.3 MB, free: 5.281 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.013e-05/0.338, allocations: 7.938 kB / 465.3 MB, free: 5.273 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001776/0.3381, allocations: 76 kB / 465.4 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/0.3382, allocations: 83.48 kB / 465.5 MB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00366/0.3419, allocations: 2.012 MB / 467.5 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/0.354, allocations: 7.257 MB / 474.7 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/0.3559, allocations: 0.9923 MB / 475.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/0.3576, allocations: 0.8573 MB / 476.6 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002082/0.3578, allocations: 36.97 kB / 476.6 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.3578, allocations: 47.5 kB / 476.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.635e-06/0.3578, allocations: 0 / 476.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.00984/0.3677, allocations: 4.703 MB / 481.4 MB, free: 4.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.3677, allocations: 60.41 kB / 481.4 MB, free: 4.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.3699, allocations: 1.397 MB / 482.8 MB, free: 3.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.37, allocations: 41.7 kB / 482.9 MB, free: 3.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007756/0.3708, allocations: 0.9189 MB / 483.8 MB, free: 2.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003252/0.3711, allocations: 372.9 kB / 484.1 MB, free: 2.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003772/0.3715, allocations: 214.9 kB / 484.3 MB, free: 1.898 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002429/0.3717, allocations: 353.9 kB / 484.7 MB, free: 1.547 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.3728, allocations: 0.6311 MB / 485.3 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.3741, allocations: 0.922 MB / 486.2 MB, free: 15.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002476/0.3766, allocations: 1.657 MB / 487.9 MB, free: 14.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.3766, allocations: 7.938 kB / 487.9 MB, free: 14.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004595/0.3812, allocations: 2.368 MB / 490.3 MB, free: 11.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.3812, allocations: 8 kB / 490.3 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.969e-05/0.3813, allocations: 11.98 kB / 490.3 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001961/0.3832, allocations: 0.7173 MB / 491 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.3842, allocations: 235.6 kB / 491.2 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/0.3963, allocations: 8.541 MB / 499.8 MB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.3976, allocations: 80 kB / 499.9 MB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.3977, allocations: 55.98 kB / 499.9 MB, free: 1.832 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001174/0.3989, allocations: 0.6262 MB / 0.4888 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003453/0.3993, allocations: 147.1 kB / 0.489 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003545/0.4028, allocations: 1.897 MB / 0.4908 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.4028, allocations: 15.94 kB / 0.4908 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.4028, allocations: 4 kB / 0.4908 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.4028, allocations: 7.984 kB / 0.4908 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007231/0.4101, allocations: 3.949 MB / 0.4947 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.4101, allocations: 8.156 kB / 0.4947 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000844/0.4109, allocations: 183.8 kB / 0.4949 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.4122, allocations: 466.9 kB / 0.4953 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.156e-05/0.4123, allocations: 32.05 kB / 0.4953 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007189/0.4195, allocations: 6.385 MB / 0.5016 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4195, allocations: 3.938 kB / 0.5016 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004851/0.4243, allocations: 2.772 MB / 0.5043 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000905/0.4253, allocations: 294.9 kB / 0.5046 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.4255, allocations: 27.98 kB / 0.5046 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000776/0.4262, allocations: 67.92 kB / 0.5047 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/0.4265, allocations: 80.84 kB / 0.5047 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.453e-05/0.4266, allocations: 39.92 kB / 0.5048 GB, free: 324 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001554/0.4281, allocations: 0.9586 MB / 0.5057 GB, free: 15.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4281, allocations: 7.938 kB / 0.5057 GB, free: 15.35 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001458/0.4296, allocations: 439.9 kB / 0.5061 GB, free: 14.92 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],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 (84): * Single equations (assignments): 80 * 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.005037/0.4346, allocations: 3.402 MB / 0.5095 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003694/0.4383, allocations: 1.93 MB / 0.5114 GB, free: 9.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.4383, allocations: 0 / 0.5114 GB, free: 9.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002187/0.4405, allocations: 1.233 MB / 0.5126 GB, free: 8.227 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/0.4424, allocations: 390.5 kB / 0.5129 GB, free: 7.852 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02793/0.4703, allocations: 16.4 MB / 0.5289 GB, free: 6.988 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001714/0.472, allocations: 1.696 MB / 0.5306 GB, free: 5.254 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001016/0.473, allocations: 320 kB / 0.5309 GB, free: 4.938 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000957/0.474, allocations: 0.7063 MB / 0.5316 GB, free: 4.23 MB / 446.1 MB Notification: Performance of SimCode: time 7.81e-07/0.474, allocations: 3.938 kB / 0.5316 GB, free: 4.227 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3011/0.7751, allocations: 41.26 MB / 0.5719 GB, free: 78.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.79/18.56, allocations: 16 kB / 0.5719 GB, free: 78.86 MB / 446.1 MB " [Timeout remaining time 641] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_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_Initialize.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.127901928965002] 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'] 18.6711850091815 18.680957702 18.35374482 Calling exit ...