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_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.001746/0.001746, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.002024/0.002024, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.395/1.395, allocations: 230.4 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_Steinmetz,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",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.001915/0.001915, allocations: 67.84 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09673/0.09864, allocations: 53.31 MB / 426.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.1839/0.2825, allocations: 9.774 MB / 436.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005234/0.2878, allocations: 3.103 MB / 439.8 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.2891, allocations: 53.22 kB / 439.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001586/0.2907, allocations: 0.6586 MB / 440.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.2928, allocations: 0.7886 MB / 441.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008608/0.2937, allocations: 382.8 kB / 441.7 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002443/0.2961, allocations: 2.439 MB / 444.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.2977, allocations: 1.28 MB / 445.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.2993, allocations: 1.086 MB / 446.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001924/0.3012, allocations: 1.352 MB / 447.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004713/0.3017, allocations: 278.2 kB / 448.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000884/0.3026, allocations: 384.6 kB / 448.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006953/0.3033, allocations: 0.7767 MB / 449.2 MB, free: 348 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001454/0.3047, allocations: 1.275 MB / 450.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004506/0.3092, allocations: 3.677 MB / 454.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3093, allocations: 0 / 454.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3093, allocations: 0 / 454.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.188e-05/0.3093, allocations: 1.219 kB / 454.2 MB, free: 14.15 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.005595/0.3149, allocations: 2.655 MB / 456.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.315, allocations: 8.906 kB / 456.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003736/0.3154, allocations: 281.8 kB / 457.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008379/0.3162, allocations: 283 kB / 457.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002843/0.319, allocations: 1.377 MB / 458.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.3192, allocations: 141.4 kB / 458.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003475/0.3195, allocations: 196.5 kB / 459.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004116/0.3236, allocations: 2.422 MB / 461.5 MB, free: 9.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.657e-05/0.3237, allocations: 7.141 kB / 461.5 MB, free: 9.336 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001997/0.3239, allocations: 80.05 kB / 461.6 MB, free: 9.273 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.439e-05/0.324, allocations: 88.38 kB / 461.7 MB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003306/0.3273, allocations: 1.96 MB / 463.7 MB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/0.3399, allocations: 7.776 MB / 471.4 MB, free: 2.488 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.3415, allocations: 1.162 MB / 472.6 MB, free: 1.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/0.3433, allocations: 0.9108 MB / 473.5 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002368/0.3435, allocations: 120.4 kB / 473.6 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.3435, allocations: 39.69 kB / 473.7 MB, free: 1.191 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.866e-06/0.3435, allocations: 0 / 473.7 MB, free: 1.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01284/0.3564, allocations: 5.895 MB / 479.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.3564, allocations: 68.28 kB / 479.6 MB, free: 11.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/0.3585, allocations: 1.31 MB / 480.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.3586, allocations: 45.7 kB / 481 MB, free: 10.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007397/0.3593, allocations: 0.9497 MB / 481.9 MB, free: 9.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003537/0.3597, allocations: 404.5 kB / 482.3 MB, free: 8.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004116/0.3601, allocations: 259.5 kB / 482.6 MB, free: 8.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3603, allocations: 353.9 kB / 482.9 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.3613, allocations: 0.6364 MB / 483.6 MB, free: 7.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.3626, allocations: 1.004 MB / 484.6 MB, free: 6.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00243/0.365, allocations: 1.739 MB / 486.3 MB, free: 4.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.365, allocations: 4 kB / 486.3 MB, free: 4.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004/0.369, allocations: 2.247 MB / 488.6 MB, free: 2.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.3691, allocations: 12 kB / 488.6 MB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.3691, allocations: 8 kB / 488.6 MB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/0.3703, allocations: 496.7 kB / 489.1 MB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.3714, allocations: 307.5 kB / 489.4 MB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007684/0.3791, allocations: 7.134 MB / 496.5 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.3805, allocations: 75.92 kB / 496.6 MB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.3806, allocations: 59.98 kB / 496.6 MB, free: 9.887 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.001243/0.3818, allocations: 0.615 MB / 497.2 MB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003484/0.3822, allocations: 151 kB / 497.4 MB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00366/0.3858, allocations: 1.953 MB / 499.3 MB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.3859, allocations: 12 kB / 499.4 MB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.3859, allocations: 8.188 kB / 499.4 MB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.3859, allocations: 11.59 kB / 499.4 MB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007788/0.3937, allocations: 4.109 MB / 0.4917 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/0.3937, allocations: 0 / 0.4917 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00086/0.3945, allocations: 191.7 kB / 0.4919 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/0.3961, allocations: 0.539 MB / 0.4924 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/0.3962, allocations: 27.92 kB / 0.4924 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009387/0.4056, allocations: 8.761 MB / 0.501 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.4056, allocations: 7.938 kB / 0.501 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004752/0.4103, allocations: 2.844 MB / 0.5038 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009437/0.4113, allocations: 356 kB / 0.5041 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/0.4115, allocations: 31.92 kB / 0.5041 GB, free: 5.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008021/0.4123, allocations: 75.92 kB / 0.5042 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/0.4126, allocations: 88.84 kB / 0.5043 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.662e-05/0.4126, allocations: 32 kB / 0.5043 GB, free: 5.309 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001424/0.4141, allocations: 0.8918 MB / 0.5052 GB, free: 4.414 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4141, allocations: 0 / 0.5052 GB, free: 4.414 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001768/0.4158, allocations: 447.9 kB / 0.5056 GB, free: 3.977 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.005176/0.421, allocations: 3.47 MB / 0.509 GB, free: 444 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003636/0.4246, allocations: 2.161 MB / 0.5111 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/0.4246, allocations: 4 kB / 0.5111 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002404/0.427, allocations: 1.445 MB / 0.5125 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.4292, allocations: 429.3 kB / 0.5129 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02642/0.4556, allocations: 15.69 MB / 0.5283 GB, free: 12.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001766/0.4574, allocations: 1.65 MB / 0.5299 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001068/0.4584, allocations: 324.8 kB / 0.5302 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/0.4595, allocations: 0.7296 MB / 0.5309 GB, free: 9.289 MB / 446.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4595, allocations: 0 / 0.5309 GB, free: 9.289 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1148/0.5743, allocations: 39.96 MB / 0.5699 GB, free: 1.766 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.59/20.16, allocations: 6.609 kB / 0.5699 GB, free: 1.762 MB / 478.1 MB " [Timeout remaining time 640] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.505937919020653] 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.269759114831686 20.283936596 19.971642033 Calling exit ...