Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 120 kB / 18.49 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 215.1 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 254.8 MB, free: 15.08 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 51.92 kB / 373.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1205, allocations: 53.34 MB / 427 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.2212/0.3417, allocations: 9.769 MB / 436.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006405/0.3481, allocations: 3.112 MB / 439.9 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002141/0.3503, allocations: 60.44 kB / 440 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002297/0.3526, allocations: 0.6647 MB / 440.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003159/0.3557, allocations: 0.7877 MB / 441.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.3569, allocations: 383.1 kB / 441.8 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003659/0.3606, allocations: 2.438 MB / 444.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002011/0.3626, allocations: 1.28 MB / 445.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.3648, allocations: 1.107 MB / 446.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002508/0.3673, allocations: 1.351 MB / 448 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008532/0.3681, allocations: 278.4 kB / 448.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.3696, allocations: 381.3 kB / 448.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008803/0.3704, allocations: 0.7811 MB / 449.4 MB, free: 220 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002255/0.3727, allocations: 1.274 MB / 450.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006012/0.3787, allocations: 3.672 MB / 454.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.3787, allocations: 1.375 kB / 454.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3787, allocations: 0 / 454.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001438/0.3789, allocations: 1.594 kB / 454.4 MB, free: 14.03 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.007666/0.3865, allocations: 2.656 MB / 457 MB, free: 12.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.3866, allocations: 10.03 kB / 457 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.216e-05/0.3867, allocations: 49.59 kB / 457.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005728/0.3872, allocations: 281.3 kB / 457.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.3884, allocations: 290 kB / 457.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/0.3915, allocations: 1.368 MB / 459 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.3916, allocations: 148 kB / 459.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004714/0.3921, allocations: 193.1 kB / 459.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004891/0.397, allocations: 2.421 MB / 461.7 MB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-05/0.3971, allocations: 10.22 kB / 461.8 MB, free: 9.203 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002037/0.3973, allocations: 72.59 kB / 461.8 MB, free: 9.148 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.3974, allocations: 89.06 kB / 461.9 MB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004123/0.4015, allocations: 1.963 MB / 463.9 MB, free: 8.137 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01428/0.4158, allocations: 7.783 MB / 471.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.4175, allocations: 1.153 MB / 472.8 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00182/0.4193, allocations: 0.9141 MB / 473.7 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002605/0.4196, allocations: 124.3 kB / 473.9 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.4197, allocations: 45.06 kB / 473.9 MB, free: 1.062 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 3.096e-06/0.4197, allocations: 0 / 473.9 MB, free: 1.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01399/0.4336, allocations: 5.886 MB / 479.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/0.4337, allocations: 68.34 kB / 479.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002287/0.436, allocations: 1.311 MB / 481.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001466/0.4362, allocations: 45.7 kB / 481.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009051/0.4371, allocations: 0.9458 MB / 482.1 MB, free: 9.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004122/0.4375, allocations: 408.5 kB / 482.5 MB, free: 8.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004297/0.4379, allocations: 255.5 kB / 482.8 MB, free: 8.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.4381, allocations: 353.9 kB / 483.1 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.4392, allocations: 0.6402 MB / 483.8 MB, free: 7.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.4406, allocations: 1.005 MB / 484.8 MB, free: 6.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002592/0.4432, allocations: 1.731 MB / 486.5 MB, free: 4.457 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.475e-06/0.4432, allocations: 4 kB / 486.5 MB, free: 4.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004254/0.4474, allocations: 2.242 MB / 488.8 MB, free: 2.184 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.4475, allocations: 12 kB / 488.8 MB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.4475, allocations: 8 kB / 488.8 MB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.4488, allocations: 493.1 kB / 489.3 MB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.45, allocations: 307.5 kB / 489.6 MB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00837/0.4584, allocations: 7.147 MB / 496.7 MB, free: 9.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.4599, allocations: 75.92 kB / 496.8 MB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.46, allocations: 59.98 kB / 496.8 MB, free: 9.68 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001263/0.4613, allocations: 0.6067 MB / 497.5 MB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000376/0.4616, allocations: 151 kB / 497.6 MB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003883/0.4655, allocations: 1.957 MB / 499.6 MB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.4655, allocations: 12 kB / 499.6 MB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.4656, allocations: 4 kB / 499.6 MB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.4656, allocations: 11.97 kB / 499.6 MB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007877/0.4734, allocations: 4.101 MB / 0.4919 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.4735, allocations: 3.984 kB / 0.4919 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008509/0.4743, allocations: 183.8 kB / 0.4921 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001608/0.4759, allocations: 0.5508 MB / 0.4926 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.476, allocations: 27.98 kB / 0.4926 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/0.4861, allocations: 8.76 MB / 0.5012 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.4861, allocations: 8.062 kB / 0.5012 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005301/0.4914, allocations: 2.856 MB / 0.504 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.4925, allocations: 360 kB / 0.5043 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/0.4927, allocations: 27.98 kB / 0.5043 GB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008166/0.4935, allocations: 71.92 kB / 0.5044 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/0.4938, allocations: 88.84 kB / 0.5045 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.8e-05/0.4939, allocations: 35.98 kB / 0.5045 GB, free: 5.102 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001462/0.4953, allocations: 0.8918 MB / 0.5054 GB, free: 4.207 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4953, allocations: 0 / 0.5054 GB, free: 4.207 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001839/0.4972, allocations: 439.9 kB / 0.5058 GB, free: 3.777 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (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,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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,1,100.0%), (2,8,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.005226/0.5024, allocations: 3.479 MB / 0.5092 GB, free: 232 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003704/0.5061, allocations: 2.153 MB / 0.5113 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.5061, allocations: 4 kB / 0.5113 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002432/0.5085, allocations: 1.452 MB / 0.5127 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/0.5109, allocations: 428.6 kB / 0.5132 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0267/0.5376, allocations: 15.7 MB / 0.5285 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001673/0.5393, allocations: 1.65 MB / 0.5301 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001084/0.5404, allocations: 324.8 kB / 0.5304 GB, free: 9.789 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/0.5414, allocations: 0.718 MB / 0.5311 GB, free: 9.07 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5414, allocations: 0 / 0.5311 GB, free: 9.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1242/0.6656, allocations: 39.99 MB / 0.5702 GB, free: 1.527 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.21/20.88, allocations: 15.31 kB / 0.5702 GB, free: 1.516 MB / 478.1 MB " [Timeout remaining time 639] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.387941177992616] 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]', 'cRun.v', 'cStart.v', 'loadInertia.phi', 'loadInertia.w'] 21.04099928494543 21.054249903 20.672355416 Calling exit ...