Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001803/0.001803, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.001825/0.001825, allocations: 212.7 kB / 21.46 MB, free: 1.605 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.498/1.498, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 67.88 kB / 373.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1101, allocations: 53.37 MB / 427.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.2247/0.3348, allocations: 14.33 MB / 441.4 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009631/0.3444, allocations: 4.699 MB / 446.1 MB, free: 144 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004155/0.3486, allocations: 108 kB / 446.2 MB, free: 100 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004436/0.353, allocations: 1.056 MB / 447.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006596/0.3596, allocations: 1.337 MB / 448.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003411/0.363, allocations: 0.9383 MB / 449.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007613/0.3706, allocations: 4.139 MB / 453.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004136/0.3748, allocations: 2.25 MB / 455.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004305/0.3791, allocations: 1.956 MB / 457.9 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004717/0.3838, allocations: 2.238 MB / 460.1 MB, free: 8.773 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001581/0.3854, allocations: 0.5086 MB / 460.6 MB, free: 8.773 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002863/0.3882, allocations: 0.7326 MB / 461.4 MB, free: 8.691 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001427/0.3897, allocations: 1.122 MB / 462.5 MB, free: 7.953 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003786/0.3935, allocations: 2.144 MB / 464.6 MB, free: 6.512 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009381/0.4028, allocations: 6.77 MB / 471.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.4028, allocations: 1.312 kB / 471.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.4028, allocations: 0 / 471.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002035/0.4031, allocations: 0 / 471.4 MB, free: 1.59 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01381/0.4169, allocations: 4.519 MB / 475.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.4169, allocations: 9.719 kB / 475.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001388/0.417, allocations: 89.95 kB / 476 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000851/0.4179, allocations: 457.8 kB / 476.5 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004537/0.4224, allocations: 0.8325 MB / 477.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005168/0.4276, allocations: 2.464 MB / 479.8 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002203/0.4278, allocations: 246.4 kB / 480 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007496/0.4286, allocations: 319.9 kB / 480.3 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008221/0.4368, allocations: 4.274 MB / 484.6 MB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-05/0.4369, allocations: 7.938 kB / 484.6 MB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003339/0.4372, allocations: 132 kB / 484.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001513/0.4374, allocations: 150.4 kB / 484.9 MB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006906/0.4443, allocations: 3.611 MB / 488.5 MB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02404/0.4683, allocations: 13.85 MB / 0.4906 GB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007069/0.4754, allocations: 6.52 MB / 0.4969 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002503/0.4779, allocations: 1.281 MB / 0.4982 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006973/0.4848, allocations: 3.905 MB / 0.502 GB, free: 8.113 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.4849, allocations: 51.88 kB / 0.5021 GB, free: 8.055 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 3.106e-06/0.4849, allocations: 0 / 0.5021 GB, free: 8.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01244/0.4973, allocations: 5.919 MB / 0.5078 GB, free: 1.926 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.4974, allocations: 72.59 kB / 0.5079 GB, free: 1.844 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002917/0.5003, allocations: 1.809 MB / 0.5097 GB, free: 36 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001727/0.5005, allocations: 45.78 kB / 0.5097 GB, free: 15.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.5016, allocations: 1.486 MB / 0.5112 GB, free: 14.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004567/0.5021, allocations: 0.4958 MB / 0.5116 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005047/0.5026, allocations: 319.4 kB / 0.512 GB, free: 13.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.5027, allocations: 305.1 kB / 0.5122 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.5038, allocations: 0.6793 MB / 0.5129 GB, free: 12.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/0.5054, allocations: 1.201 MB / 0.5141 GB, free: 11.26 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002844/0.5082, allocations: 2.003 MB / 0.516 GB, free: 9.039 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.5082, allocations: 4 kB / 0.516 GB, free: 9.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004468/0.5127, allocations: 2.548 MB / 0.5185 GB, free: 6.445 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.5127, allocations: 12 kB / 0.5185 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.477e-05/0.5128, allocations: 16 kB / 0.5186 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.5138, allocations: 364.3 kB / 0.5189 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.5151, allocations: 375.4 kB / 0.5193 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008619/0.5238, allocations: 8.41 MB / 0.5275 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.5255, allocations: 71.97 kB / 0.5275 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/0.5257, allocations: 80.08 kB / 0.5276 GB, free: 12.57 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.00185/0.5275, allocations: 0.997 MB / 0.5286 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004378/0.528, allocations: 210.6 kB / 0.5288 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004233/0.5322, allocations: 2.278 MB / 0.531 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.5322, allocations: 12 kB / 0.531 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.5322, allocations: 8 kB / 0.531 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.5322, allocations: 7.969 kB / 0.531 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008494/0.5407, allocations: 5.075 MB / 0.536 GB, free: 3.762 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.5407, allocations: 0 / 0.536 GB, free: 3.762 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008077/0.5415, allocations: 176 kB / 0.5362 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001465/0.543, allocations: 0.5319 MB / 0.5367 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.5431, allocations: 47.92 kB / 0.5367 GB, free: 2.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01404/0.5572, allocations: 13.25 MB / 0.5497 GB, free: 4.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.5572, allocations: 8.016 kB / 0.5497 GB, free: 4.902 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005665/0.5628, allocations: 3.211 MB / 0.5528 GB, free: 1.605 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/0.5641, allocations: 443.6 kB / 0.5532 GB, free: 1.152 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002736/0.5643, allocations: 32 kB / 0.5533 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008732/0.5652, allocations: 63.94 kB / 0.5533 GB, free: 1.059 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000323/0.5655, allocations: 101.2 kB / 0.5534 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-05/0.5656, allocations: 39.98 kB / 0.5535 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002073/0.5677, allocations: 1.24 MB / 0.5547 GB, free: 15.69 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5677, allocations: 4 kB / 0.5547 GB, free: 15.69 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002426/0.5701, allocations: 0.5859 MB / 0.5552 GB, free: 15.1 MB / 478.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.00571/0.5758, allocations: 3.838 MB / 0.559 GB, free: 11.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00378/0.5796, allocations: 2.28 MB / 0.5612 GB, free: 8.809 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.5796, allocations: 8.188 kB / 0.5612 GB, free: 8.801 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002614/0.5822, allocations: 1.675 MB / 0.5629 GB, free: 7.047 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/0.5848, allocations: 0.556 MB / 0.5634 GB, free: 6.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03294/0.6177, allocations: 20.25 MB / 0.5832 GB, free: 1.523 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002392/0.6201, allocations: 2.315 MB / 0.5854 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001296/0.6214, allocations: 405.2 kB / 0.5858 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/0.6229, allocations: 1.144 MB / 0.5869 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of SimCode: time 9.21e-07/0.6229, allocations: 0 / 0.5869 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3946/1.018, allocations: 54.3 MB / 0.64 GB, free: 166.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.84, allocations: 9.328 kB / 0.64 GB, free: 166.4 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.465914501051884] 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'] 15.013297777972184 15.029198727 14.623295313 Calling exit ...