Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001372/0.001372, allocations: 105.1 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.001514/0.001514, allocations: 213.7 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.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 8.07 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_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.001934/0.001934, allocations: 68.77 kB / 378.6 MB, free: 3.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3047, allocations: 53.37 MB / 431.9 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01728/0.3219, allocations: 14.38 MB / 446.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.3324, allocations: 4.715 MB / 451 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003088/0.3355, allocations: 107.3 kB / 451.1 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00359/0.3391, allocations: 1.064 MB / 452.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005338/0.3444, allocations: 1.348 MB / 453.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002856/0.3473, allocations: 0.9575 MB / 454.5 MB, free: 276 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006782/0.3541, allocations: 4.153 MB / 458.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002988/0.3571, allocations: 1.805 MB / 460.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003335/0.3604, allocations: 1.959 MB / 462.4 MB, free: 8.258 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004401/0.3648, allocations: 2.242 MB / 464.7 MB, free: 6.008 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001166/0.366, allocations: 0.5078 MB / 465.2 MB, free: 5.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.368, allocations: 0.7341 MB / 465.9 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001306/0.3693, allocations: 1.13 MB / 467 MB, free: 3.633 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003594/0.3729, allocations: 2.143 MB / 469.2 MB, free: 1.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008868/0.3817, allocations: 6.764 MB / 475.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.3817, allocations: 0 / 475.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3817, allocations: 4 kB / 475.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001635/0.3819, allocations: 3.938 kB / 475.9 MB, free: 10.68 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01221/0.3941, allocations: 4.451 MB / 480.4 MB, free: 6.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.3942, allocations: 12.03 kB / 480.4 MB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007145/0.3949, allocations: 455.8 kB / 480.9 MB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004292/0.3992, allocations: 0.8261 MB / 481.7 MB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005545/0.4047, allocations: 2.404 MB / 484.1 MB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.4049, allocations: 246.6 kB / 484.3 MB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006525/0.4056, allocations: 327.9 kB / 484.6 MB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008354/0.4139, allocations: 4.274 MB / 488.9 MB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.149e-05/0.414, allocations: 3.953 kB / 488.9 MB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003152/0.4143, allocations: 132 kB / 489.1 MB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001686/0.4145, allocations: 146.4 kB / 489.2 MB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007291/0.4218, allocations: 3.609 MB / 492.8 MB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02311/0.4449, allocations: 13.51 MB / 0.4944 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005121/0.45, allocations: 2.597 MB / 0.497 GB, free: 9.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002367/0.4524, allocations: 1.288 MB / 0.4982 GB, free: 7.984 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006442/0.4588, allocations: 3.415 MB / 0.5016 GB, free: 4.543 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/0.4589, allocations: 51.88 kB / 0.5016 GB, free: 4.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 2.845e-06/0.4589, allocations: 0 / 0.5016 GB, free: 4.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01214/0.471, allocations: 5.241 MB / 0.5067 GB, free: 15.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.4711, allocations: 68.72 kB / 0.5068 GB, free: 15.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002874/0.474, allocations: 1.802 MB / 0.5086 GB, free: 13.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.4741, allocations: 53.7 kB / 0.5086 GB, free: 13.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001244/0.4753, allocations: 1.49 MB / 0.5101 GB, free: 11.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004699/0.4758, allocations: 0.4919 MB / 0.5106 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005003/0.4763, allocations: 319.4 kB / 0.5109 GB, free: 10.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4764, allocations: 305.1 kB / 0.5112 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.4776, allocations: 0.691 MB / 0.5118 GB, free: 9.949 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/0.4792, allocations: 1.19 MB / 0.513 GB, free: 8.535 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002938/0.4822, allocations: 2.006 MB / 0.5149 GB, free: 6.305 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.4822, allocations: 4 kB / 0.515 GB, free: 6.301 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004522/0.4867, allocations: 2.476 MB / 0.5174 GB, free: 3.801 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.4867, allocations: 12 kB / 0.5174 GB, free: 3.789 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.709e-05/0.4868, allocations: 16 kB / 0.5174 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.4878, allocations: 367.3 kB / 0.5177 GB, free: 3.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.4892, allocations: 371.4 kB / 0.5181 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008606/0.4978, allocations: 7.987 MB / 0.5259 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.4994, allocations: 79.91 kB / 0.526 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/0.4995, allocations: 72 kB / 0.526 GB, free: 10.45 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (192): * Single equations (assignments): 187 * 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 {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002062/0.5016, allocations: 1.016 MB / 0.527 GB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004817/0.5021, allocations: 214.6 kB / 0.5272 GB, free: 9.215 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/0.5064, allocations: 2.108 MB / 0.5293 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.5064, allocations: 16 kB / 0.5293 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.461e-05/0.5064, allocations: 8 kB / 0.5293 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/0.5064, allocations: 7.969 kB / 0.5293 GB, free: 7.039 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009273/0.5157, allocations: 4.904 MB / 0.5341 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.5157, allocations: 0 / 0.5341 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/0.5165, allocations: 175.8 kB / 0.5343 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001453/0.518, allocations: 0.5356 MB / 0.5348 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.782e-05/0.5181, allocations: 39.92 kB / 0.5348 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2414/0.7595, allocations: 12.61 MB / 0.5472 GB, free: 89.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7595, allocations: 0.7031 kB / 0.5472 GB, free: 89.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004934/0.7644, allocations: 3.064 MB / 0.5502 GB, free: 88.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009744/0.7654, allocations: 371.1 kB / 0.5505 GB, free: 88.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002699/0.7656, allocations: 31 kB / 0.5505 GB, free: 88.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008163/0.7665, allocations: 66.77 kB / 0.5506 GB, free: 88.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002901/0.7667, allocations: 115.8 kB / 0.5507 GB, free: 88.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.049e-05/0.7668, allocations: 40.83 kB / 0.5508 GB, free: 88.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00158/0.7684, allocations: 1.232 MB / 0.552 GB, free: 87.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7684, allocations: 0 / 0.552 GB, free: 87.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002163/0.7706, allocations: 0.586 MB / 0.5525 GB, free: 87.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004482/0.775, allocations: 3.685 MB / 0.5561 GB, free: 85.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003153/0.7782, allocations: 2.207 MB / 0.5583 GB, free: 84.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.7782, allocations: 2.859 kB / 0.5583 GB, free: 84.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00205/0.7802, allocations: 1.688 MB / 0.5599 GB, free: 83.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/0.7825, allocations: 0.5633 MB / 0.5605 GB, free: 83.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02516/0.8076, allocations: 20.12 MB / 0.5801 GB, free: 64.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/0.8093, allocations: 2.311 MB / 0.5824 GB, free: 62.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00126/0.8105, allocations: 405.2 kB / 0.5828 GB, free: 61.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/0.8117, allocations: 1.147 MB / 0.5839 GB, free: 60.66 MB / 446.1 MB Notification: Performance of SimCode: time 1.683e-06/0.8117, allocations: 0 / 0.5839 GB, free: 60.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1044/0.9161, allocations: 55.57 MB / 0.6382 GB, free: 5.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/15.9, allocations: 11.38 kB / 0.6382 GB, free: 5.582 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.367855018004775] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', '// aimc.stator.zeroInductor.i0', 'aimc.is[1]', 'aimc.is[2]', 'cRun.v', 'cStart.v', 'loadInertia.phi', 'loadInertia.w'] 16.017629239242524 16.038143815 15.651946452 Calling exit ...