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.001421/0.001421, allocations: 121.3 kB / 18.5 MB, free: 4.488 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.00152/0.00152, allocations: 214.6 kB / 21.46 MB, free: 1.535 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.432/1.432, allocations: 230.5 MB / 254.8 MB, free: 15.26 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.001968/0.001968, allocations: 75.81 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1097, allocations: 53.32 MB / 427 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01163/0.1214, allocations: 9.003 MB / 436 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006574/0.1279, allocations: 2.96 MB / 439 MB, free: 8.801 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.1295, allocations: 59.62 kB / 439 MB, free: 8.742 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001723/0.1312, allocations: 0.6367 MB / 439.7 MB, free: 8.102 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002303/0.1335, allocations: 0.769 MB / 440.4 MB, free: 7.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008035/0.1343, allocations: 327.6 kB / 440.8 MB, free: 7.008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003169/0.1374, allocations: 2.373 MB / 443.1 MB, free: 4.625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001763/0.1392, allocations: 1.29 MB / 444.4 MB, free: 3.285 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.141, allocations: 1.102 MB / 445.5 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.1431, allocations: 1.382 MB / 446.9 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000496/0.1436, allocations: 276 kB / 447.2 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008497/0.1445, allocations: 379.8 kB / 447.6 MB, free: 156 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2266/0.3711, allocations: 0.8044 MB / 448.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002041/0.3731, allocations: 1.269 MB / 449.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004829/0.378, allocations: 3.707 MB / 453.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.378, allocations: 1.031 kB / 453.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.378, allocations: 4.969 kB / 453.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001402/0.3781, allocations: 0 / 453.3 MB, free: 11.36 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.007677/0.3858, allocations: 2.659 MB / 456 MB, free: 10.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.3858, allocations: 10.75 kB / 456 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004667/0.3863, allocations: 269.4 kB / 456.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.3875, allocations: 303.4 kB / 456.6 MB, free: 9.992 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/0.3901, allocations: 1.409 MB / 458 MB, free: 9.555 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.3902, allocations: 136.1 kB / 458.1 MB, free: 9.551 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003474/0.3906, allocations: 189 kB / 458.3 MB, free: 9.543 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004559/0.3951, allocations: 2.41 MB / 460.7 MB, free: 8.941 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.291e-05/0.3952, allocations: 7.141 kB / 460.7 MB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/0.3954, allocations: 77.12 kB / 460.8 MB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/0.3955, allocations: 90.53 kB / 460.9 MB, free: 8.871 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003739/0.3992, allocations: 2.018 MB / 462.9 MB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.4105, allocations: 7.386 MB / 470.3 MB, free: 4.352 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.4122, allocations: 1.208 MB / 471.5 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.4138, allocations: 0.8615 MB / 472.3 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/0.414, allocations: 126.1 kB / 472.5 MB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.414, allocations: 51.5 kB / 472.5 MB, free: 3.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.565e-06/0.414, allocations: 0 / 472.5 MB, free: 3.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.009173/0.4232, allocations: 4.916 MB / 477.4 MB, free: 460 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.4232, allocations: 62.56 kB / 477.5 MB, free: 392 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.4254, allocations: 1.397 MB / 478.9 MB, free: 15.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.4256, allocations: 45.95 kB / 478.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007766/0.4263, allocations: 0.9187 MB / 479.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/0.4267, allocations: 367.1 kB / 480.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003861/0.4271, allocations: 221.6 kB / 480.4 MB, free: 14.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.4273, allocations: 346.8 kB / 480.8 MB, free: 14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.4283, allocations: 0.6355 MB / 481.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.4296, allocations: 0.9225 MB / 482.3 MB, free: 13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002233/0.4319, allocations: 1.648 MB / 484 MB, free: 11.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.4319, allocations: 3.156 kB / 484 MB, free: 11.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004556/0.4364, allocations: 2.383 MB / 486.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.4364, allocations: 13.61 kB / 486.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.4365, allocations: 8.25 kB / 486.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001834/0.4383, allocations: 0.7114 MB / 487.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008654/0.4392, allocations: 231.5 kB / 487.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/0.4506, allocations: 8.741 MB / 496.1 MB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.4522, allocations: 91.8 kB / 496.2 MB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.4523, allocations: 46.72 kB / 496.2 MB, free: 3.383 MB / 382.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.001409/0.4537, allocations: 0.6311 MB / 496.8 MB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004604/0.4542, allocations: 155.1 kB / 497 MB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003842/0.458, allocations: 1.895 MB / 498.9 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.458, allocations: 8 kB / 498.9 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.4581, allocations: 5.453 kB / 498.9 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.4581, allocations: 3.984 kB / 498.9 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008248/0.4663, allocations: 3.982 MB / 0.4911 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.4663, allocations: 7.984 kB / 0.4911 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008274/0.4672, allocations: 180.3 kB / 0.4913 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001299/0.4684, allocations: 463.6 kB / 0.4917 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.4686, allocations: 37.67 kB / 0.4917 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007433/0.476, allocations: 6.69 MB / 0.4983 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.476, allocations: 4.031 kB / 0.4983 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005027/0.481, allocations: 2.774 MB / 0.501 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.482, allocations: 371.9 kB / 0.5013 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/0.4823, allocations: 31.92 kB / 0.5014 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008375/0.4831, allocations: 63.92 kB / 0.5014 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002463/0.4834, allocations: 90.5 kB / 0.5015 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.799e-05/0.4834, allocations: 24 kB / 0.5015 GB, free: 1.527 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001601/0.485, allocations: 0.9625 MB / 0.5025 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.485, allocations: 0 / 0.5025 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001837/0.4869, allocations: 439.9 kB / 0.5029 GB, free: 136 kB / 398.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.005163/0.492, allocations: 3.407 MB / 0.5062 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003676/0.4957, allocations: 1.936 MB / 0.5081 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.4957, allocations: 0 / 0.5081 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002267/0.498, allocations: 1.301 MB / 0.5094 GB, free: 9.422 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/0.5001, allocations: 387.1 kB / 0.5098 GB, free: 9.066 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02833/0.5285, allocations: 16.39 MB / 0.5258 GB, free: 8.352 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001605/0.5301, allocations: 1.7 MB / 0.5274 GB, free: 6.625 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00101/0.5311, allocations: 316 kB / 0.5277 GB, free: 6.312 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/0.5321, allocations: 0.7023 MB / 0.5284 GB, free: 5.609 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5321, allocations: 0 / 0.5284 GB, free: 5.609 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09367/0.6258, allocations: 40.38 MB / 0.5679 GB, free: 13.68 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.25/17.87, allocations: 17.22 kB / 0.5679 GB, free: 13.68 MB / 478.1 MB " [Timeout remaining time 642] (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: 20.45382348075509] 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'] 17.9752969420515 17.989427198 17.608369924 Calling exit ...