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_Inverter.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.001467/0.001467, 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.001453/0.001453, 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.411/1.411, 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_Inverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",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.001891/0.001891, allocations: 68.75 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2554, allocations: 53.37 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01125/0.2667, allocations: 8.952 MB / 440.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006063/0.2727, allocations: 2.917 MB / 443.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.2743, allocations: 55.62 kB / 443.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.2762, allocations: 0.6403 MB / 444.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002583/0.2788, allocations: 0.7574 MB / 445.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009499/0.2798, allocations: 331.4 kB / 445.6 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003568/0.2833, allocations: 2.245 MB / 447.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00164/0.285, allocations: 1.024 MB / 448.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.2867, allocations: 1.055 MB / 449.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002129/0.2888, allocations: 1.316 MB / 451.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000572/0.2894, allocations: 268 kB / 451.5 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008648/0.2902, allocations: 371.8 kB / 451.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008281/0.2911, allocations: 0.7675 MB / 452.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.2925, allocations: 1.213 MB / 453.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004188/0.2967, allocations: 3.542 MB / 457.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2967, allocations: 0 / 457.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2967, allocations: 4 kB / 457.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.128e-05/0.2967, allocations: 4 kB / 457.4 MB, free: 13.3 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.00517/0.3019, allocations: 2.472 MB / 459.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.302, allocations: 8.031 kB / 459.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003606/0.3023, allocations: 266 kB / 460.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007235/0.303, allocations: 271.3 kB / 460.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/0.3054, allocations: 1.242 MB / 461.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.3055, allocations: 135.7 kB / 461.8 MB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000319/0.3059, allocations: 187.9 kB / 461.9 MB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00428/0.3101, allocations: 2.371 MB / 464.3 MB, free: 6.238 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.12e-05/0.3102, allocations: 7.953 kB / 464.3 MB, free: 6.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/0.3104, allocations: 72 kB / 464.4 MB, free: 6.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.3105, allocations: 91.5 kB / 464.5 MB, free: 6.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003699/0.3142, allocations: 1.969 MB / 466.4 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01248/0.3267, allocations: 6.945 MB / 473.4 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.3285, allocations: 0.9924 MB / 474.4 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.33, allocations: 0.8148 MB / 475.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.3303, allocations: 40.97 kB / 475.2 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.3303, allocations: 43.56 kB / 475.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 2.695e-06/0.3303, allocations: 0 / 475.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.0137/0.344, allocations: 5.672 MB / 481 MB, free: 5.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.3441, allocations: 72.34 kB / 481 MB, free: 5.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.3461, allocations: 1.211 MB / 482.2 MB, free: 4.027 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.3462, allocations: 49.7 kB / 482.3 MB, free: 3.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007219/0.3469, allocations: 0.887 MB / 483.2 MB, free: 3.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003606/0.3473, allocations: 384.8 kB / 483.5 MB, free: 2.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003631/0.3476, allocations: 226.8 kB / 483.8 MB, free: 2.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.3478, allocations: 349.9 kB / 484.1 MB, free: 2.121 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.3489, allocations: 0.6194 MB / 484.7 MB, free: 1.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/0.3502, allocations: 0.9188 MB / 485.6 MB, free: 468 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00246/0.3526, allocations: 1.639 MB / 487.3 MB, free: 14.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.3526, allocations: 4 kB / 487.3 MB, free: 14.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003929/0.3565, allocations: 2.141 MB / 489.4 MB, free: 12.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.3566, allocations: 12.06 kB / 489.4 MB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.3566, allocations: 15.94 kB / 489.5 MB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.3577, allocations: 474.7 kB / 489.9 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.3588, allocations: 271.6 kB / 490.2 MB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007547/0.3663, allocations: 6.709 MB / 496.9 MB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.3676, allocations: 91.8 kB / 497 MB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.3677, allocations: 44 kB / 497 MB, free: 4.574 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001344/0.369, allocations: 0.5951 MB / 497.6 MB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/0.3694, allocations: 151 kB / 497.8 MB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003878/0.3733, allocations: 1.945 MB / 499.7 MB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.3733, allocations: 12 kB / 499.7 MB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.605e-05/0.3733, allocations: 7.984 kB / 499.7 MB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.3733, allocations: 3.984 kB / 499.7 MB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007897/0.3812, allocations: 4.096 MB / 0.492 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.3812, allocations: 4.469 kB / 0.492 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007853/0.382, allocations: 183.8 kB / 0.4922 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0014/0.3834, allocations: 0.5231 MB / 0.4927 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.039e-05/0.3835, allocations: 27.98 kB / 0.4927 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00879/0.3923, allocations: 8.216 MB / 0.5008 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/0.3923, allocations: 7.938 kB / 0.5008 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005268/0.3976, allocations: 2.871 MB / 0.5036 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008092/0.3984, allocations: 267 kB / 0.5038 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/0.3986, allocations: 35.92 kB / 0.5039 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007742/0.3994, allocations: 75.92 kB / 0.5039 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002522/0.3996, allocations: 92.7 kB / 0.504 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.706e-05/0.3997, allocations: 35.98 kB / 0.5041 GB, free: 0.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001332/0.401, allocations: 0.8423 MB / 0.5049 GB, free: 15.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.401, allocations: 0 / 0.5049 GB, free: 15.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001493/0.4025, allocations: 404 kB / 0.5053 GB, free: 15.51 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,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.005292/0.4078, allocations: 3.494 MB / 0.5087 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003528/0.4113, allocations: 1.956 MB / 0.5106 GB, free: 9.922 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4113, allocations: 8.5 kB / 0.5106 GB, free: 9.914 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002251/0.4136, allocations: 1.353 MB / 0.5119 GB, free: 8.508 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/0.4154, allocations: 382.2 kB / 0.5123 GB, free: 8.145 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02412/0.4395, allocations: 15.01 MB / 0.5269 GB, free: 8.574 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/0.4412, allocations: 1.638 MB / 0.5285 GB, free: 6.902 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009877/0.4422, allocations: 299.8 kB / 0.5288 GB, free: 6.605 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000971/0.4432, allocations: 0.6906 MB / 0.5295 GB, free: 5.914 MB / 446.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4432, allocations: 0 / 0.5295 GB, free: 5.914 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2731/0.7162, allocations: 38.63 MB / 0.5672 GB, free: 81.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.12, allocations: 3.984 kB / 0.5672 GB, free: 81.24 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter_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_Inverter.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.390644707717] 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', 'vfController.x'] 13.233602052088827 13.255795726 12.954611354 Calling exit ...