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.001296/0.001296, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001325/0.001325, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.4/1.4, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.002116/0.002116, allocations: 63.89 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09737/0.09949, allocations: 53.31 MB / 426.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.2054/0.3049, allocations: 8.985 MB / 435.9 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005235/0.3102, allocations: 2.957 MB / 438.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.3114, allocations: 45.62 kB / 438.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.3131, allocations: 0.6448 MB / 439.5 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003239/0.3164, allocations: 0.7673 MB / 440.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009601/0.3173, allocations: 330.7 kB / 440.6 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003113/0.3204, allocations: 2.378 MB / 443 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/0.3222, allocations: 1.285 MB / 444.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002004/0.3242, allocations: 1.082 MB / 445.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002372/0.3266, allocations: 1.381 MB / 446.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005972/0.3272, allocations: 282 kB / 447 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.3283, allocations: 380.6 kB / 447.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009071/0.3292, allocations: 0.8117 MB / 448.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001729/0.331, allocations: 1.262 MB / 449.5 MB, free: 344 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005066/0.336, allocations: 3.71 MB / 453.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.336, allocations: 1.188 kB / 453.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.336, allocations: 0 / 453.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001088/0.3361, allocations: 0 / 453.2 MB, free: 15.01 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.00649/0.3426, allocations: 2.659 MB / 455.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.3427, allocations: 9.625 kB / 455.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004475/0.3431, allocations: 275.8 kB / 456.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.3443, allocations: 307.2 kB / 456.4 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002992/0.3473, allocations: 1.413 MB / 457.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.3474, allocations: 133.1 kB / 458 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003677/0.3478, allocations: 186.9 kB / 458.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004418/0.3522, allocations: 2.411 MB / 460.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.613e-05/0.3522, allocations: 6.25 kB / 460.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/0.3524, allocations: 76.72 kB / 460.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.772e-05/0.3525, allocations: 88.23 kB / 460.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004023/0.3566, allocations: 2.017 MB / 462.7 MB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01447/0.371, allocations: 7.383 MB / 470.1 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.373, allocations: 1.218 MB / 471.3 MB, free: 2.957 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/0.3748, allocations: 0.8659 MB / 472.2 MB, free: 2.551 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/0.3751, allocations: 119 kB / 472.3 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/0.3751, allocations: 43.69 kB / 472.4 MB, free: 2.395 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.476e-06/0.3752, allocations: 0 / 472.4 MB, free: 2.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.01068/0.3858, allocations: 4.918 MB / 477.3 MB, free: 14.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.3859, allocations: 64.41 kB / 477.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002505/0.3884, allocations: 1.389 MB / 478.7 MB, free: 12.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.3886, allocations: 45.7 kB / 478.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007887/0.3894, allocations: 0.9188 MB / 479.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003345/0.3897, allocations: 372.8 kB / 480.1 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003714/0.3901, allocations: 218.9 kB / 480.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3902, allocations: 353.9 kB / 480.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.3913, allocations: 0.6349 MB / 481.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.3926, allocations: 0.9259 MB / 482.2 MB, free: 9.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/0.3949, allocations: 1.645 MB / 483.8 MB, free: 7.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.3949, allocations: 4 kB / 483.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004395/0.3993, allocations: 2.38 MB / 486.2 MB, free: 4.902 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.3994, allocations: 12 kB / 486.2 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.3994, allocations: 8 kB / 486.2 MB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/0.4012, allocations: 0.712 MB / 486.9 MB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009188/0.4022, allocations: 239.6 kB / 487.2 MB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/0.4137, allocations: 8.73 MB / 495.9 MB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.4151, allocations: 87.86 kB / 496 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.4152, allocations: 47.98 kB / 496 MB, free: 10.79 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.4164, allocations: 0.6225 MB / 496.7 MB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003611/0.4168, allocations: 151.1 kB / 496.8 MB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00349/0.4203, allocations: 1.893 MB / 498.7 MB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.4203, allocations: 12 kB / 498.7 MB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.4203, allocations: 4 kB / 498.7 MB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.4203, allocations: 3.984 kB / 498.7 MB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007859/0.4281, allocations: 4.002 MB / 0.4909 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.4282, allocations: 4 kB / 0.4909 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008482/0.429, allocations: 180.9 kB / 0.4911 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/0.4303, allocations: 467.1 kB / 0.4916 GB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.4304, allocations: 27.98 kB / 0.4916 GB, free: 3.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007199/0.4376, allocations: 6.688 MB / 0.4981 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.4376, allocations: 7.969 kB / 0.4981 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004944/0.4425, allocations: 2.776 MB / 0.5008 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/0.4436, allocations: 368 kB / 0.5012 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002629/0.4439, allocations: 24 kB / 0.5012 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007992/0.4447, allocations: 67.92 kB / 0.5013 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/0.4449, allocations: 84.81 kB / 0.5014 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-05/0.445, allocations: 31.92 kB / 0.5014 GB, free: 8.781 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001598/0.4466, allocations: 0.9663 MB / 0.5023 GB, free: 7.812 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4466, allocations: 0 / 0.5023 GB, free: 7.812 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001691/0.4483, allocations: 435.9 kB / 0.5027 GB, free: 7.387 MB / 414.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.005234/0.4535, allocations: 3.402 MB / 0.5061 GB, free: 3.926 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003807/0.4573, allocations: 1.952 MB / 0.508 GB, free: 1.949 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.4573, allocations: 0 / 0.508 GB, free: 1.949 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002315/0.4596, allocations: 1.298 MB / 0.5092 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/0.462, allocations: 386.3 kB / 0.5096 GB, free: 236 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02839/0.4904, allocations: 16.38 MB / 0.5256 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001586/0.492, allocations: 1.696 MB / 0.5273 GB, free: 13.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001007/0.493, allocations: 320 kB / 0.5276 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000948/0.494, allocations: 0.7023 MB / 0.5283 GB, free: 12.63 MB / 446.1 MB Notification: Performance of SimCode: time 1.162e-06/0.494, allocations: 0 / 0.5283 GB, free: 12.63 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09355/0.5875, allocations: 40.4 MB / 0.5677 GB, free: 4.645 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.81/18.39, allocations: 3.938 kB / 0.5677 GB, free: 4.641 MB / 478.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize_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_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.792902503162622] 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.501874963752925 18.523700428 18.184317311 Calling exit ...