Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001312/0.001312, allocations: 120.1 kB / 18.49 MB, free: 4.566 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.001456/0.001456, allocations: 218.2 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 230.5 MB / 254.7 MB, free: 15.2 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 55.91 kB / 373.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1039, allocations: 53.38 MB / 427.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01226/0.1161, allocations: 9.785 MB / 436.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006276/0.1224, allocations: 3.108 MB / 440 MB, free: 7.656 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.124, allocations: 63.62 kB / 440 MB, free: 7.594 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002188/0.1262, allocations: 0.6638 MB / 440.7 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002734/0.129, allocations: 0.7804 MB / 441.5 MB, free: 6.141 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.1302, allocations: 387.4 kB / 441.9 MB, free: 5.762 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003538/0.1337, allocations: 2.444 MB / 444.3 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00244/0.1361, allocations: 1.278 MB / 445.6 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002069/0.1382, allocations: 1.11 MB / 446.7 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2054/0.3436, allocations: 1.347 MB / 448 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.3446, allocations: 278.3 kB / 448.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.3458, allocations: 378 kB / 448.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006573/0.3465, allocations: 0.7799 MB / 449.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.3479, allocations: 1.273 MB / 450.7 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004964/0.3529, allocations: 3.679 MB / 454.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.3529, allocations: 1.5 kB / 454.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.3529, allocations: 1.641 kB / 454.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001033/0.353, allocations: 0.9688 kB / 454.4 MB, free: 10.28 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.006316/0.3593, allocations: 2.646 MB / 457.1 MB, free: 9.098 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3594, allocations: 9.812 kB / 457.1 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.374e-05/0.3594, allocations: 48.91 kB / 457.1 MB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003715/0.3598, allocations: 280.8 kB / 457.4 MB, free: 9.047 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009172/0.3607, allocations: 292.7 kB / 457.7 MB, free: 8.914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002476/0.3632, allocations: 1.367 MB / 459 MB, free: 8.477 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.3633, allocations: 142.3 kB / 459.2 MB, free: 8.473 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003217/0.3636, allocations: 199.8 kB / 459.4 MB, free: 8.465 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004216/0.3678, allocations: 2.419 MB / 461.8 MB, free: 7.504 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-05/0.3679, allocations: 9.047 kB / 461.8 MB, free: 7.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001866/0.3681, allocations: 75.84 kB / 461.9 MB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.58e-05/0.3682, allocations: 90.44 kB / 462 MB, free: 7.434 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003424/0.3716, allocations: 1.969 MB / 463.9 MB, free: 6.734 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01154/0.3831, allocations: 7.778 MB / 471.7 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.3848, allocations: 1.165 MB / 472.9 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/0.3865, allocations: 0.9091 MB / 473.8 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000231/0.3867, allocations: 119.8 kB / 473.9 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.3868, allocations: 47.59 kB / 474 MB, free: 1.238 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 3.376e-06/0.3868, allocations: 0 / 474 MB, free: 1.238 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01392/0.4007, allocations: 5.884 MB / 479.8 MB, free: 13.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.4008, allocations: 67.75 kB / 479.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/0.403, allocations: 1.312 MB / 481.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.4031, allocations: 45.7 kB / 481.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007351/0.4039, allocations: 0.9456 MB / 482.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000386/0.4043, allocations: 409.3 kB / 482.6 MB, free: 11.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004255/0.4047, allocations: 245.9 kB / 482.8 MB, free: 11.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.4049, allocations: 357.1 kB / 483.2 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.4059, allocations: 0.6365 MB / 483.8 MB, free: 11.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.4072, allocations: 1.008 MB / 484.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002518/0.4097, allocations: 1.733 MB / 486.6 MB, free: 9.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.4097, allocations: 3.281 kB / 486.6 MB, free: 9.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004028/0.4138, allocations: 2.244 MB / 488.8 MB, free: 8.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.4138, allocations: 12.06 kB / 488.8 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.4138, allocations: 11.19 kB / 488.8 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.4151, allocations: 498.9 kB / 489.3 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.4161, allocations: 304.7 kB / 489.6 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007844/0.424, allocations: 7.135 MB / 496.8 MB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/0.4259, allocations: 79.98 kB / 496.8 MB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002383/0.4261, allocations: 59.98 kB / 496.9 MB, free: 1.27 MB / 382.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.001587/0.4277, allocations: 0.6079 MB / 497.5 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004709/0.4282, allocations: 151 kB / 497.7 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00388/0.4321, allocations: 1.955 MB / 499.6 MB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.4321, allocations: 12 kB / 499.6 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.4321, allocations: 4 kB / 499.6 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.4321, allocations: 12.8 kB / 499.6 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008062/0.4402, allocations: 4.108 MB / 0.4919 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.4402, allocations: 0 / 0.4919 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008736/0.4411, allocations: 195.2 kB / 0.4921 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001599/0.4427, allocations: 0.5345 MB / 0.4926 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/0.4428, allocations: 27.92 kB / 0.4927 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009604/0.4524, allocations: 8.764 MB / 0.5012 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.4524, allocations: 7.938 kB / 0.5012 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005038/0.4574, allocations: 2.857 MB / 0.504 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009724/0.4584, allocations: 364 kB / 0.5044 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002612/0.4587, allocations: 27.92 kB / 0.5044 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008235/0.4595, allocations: 71.92 kB / 0.5045 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/0.4597, allocations: 93.31 kB / 0.5046 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.627e-05/0.4598, allocations: 32 kB / 0.5046 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001478/0.4613, allocations: 0.8918 MB / 0.5055 GB, free: 11.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4613, allocations: 0 / 0.5055 GB, free: 11.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001812/0.4631, allocations: 443.9 kB / 0.5059 GB, free: 11.55 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.005287/0.4684, allocations: 3.479 MB / 0.5093 GB, free: 8.027 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003665/0.4721, allocations: 2.155 MB / 0.5114 GB, free: 5.832 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.4721, allocations: 0.8125 kB / 0.5114 GB, free: 5.832 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002382/0.4744, allocations: 1.46 MB / 0.5128 GB, free: 4.324 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/0.4772, allocations: 420 kB / 0.5132 GB, free: 3.938 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03156/0.5088, allocations: 15.68 MB / 0.5285 GB, free: 3.828 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002287/0.5111, allocations: 1.65 MB / 0.5301 GB, free: 2.145 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001465/0.5126, allocations: 324.8 kB / 0.5304 GB, free: 1.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00149/0.5141, allocations: 0.7257 MB / 0.5311 GB, free: 1.094 MB / 430.1 MB Notification: Performance of SimCode: time 2.215e-06/0.5141, allocations: 7.938 kB / 0.5312 GB, free: 1.086 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09555/0.6096, allocations: 39.98 MB / 0.5702 GB, free: 9.539 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.03/20.64, allocations: 8 kB / 0.5702 GB, free: 9.531 MB / 478.1 MB " [Timeout remaining time 639] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.216763699019793] 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'] 20.81071854097536 20.835514516 20.477767296 Calling exit ...