Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.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.001614/0.001614, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.00178/0.00178, allocations: 214.9 kB / 23.75 MB, free: 4.672 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.454/1.454, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 67.89 kB / 377.8 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2909, allocations: 53.41 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.0419/0.3328, allocations: 34.85 MB / 466.1 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02486/0.3576, allocations: 10.06 MB / 476.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008101/0.3657, allocations: 302.4 kB / 476.4 MB, free: 9.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02203/0.3878, allocations: 8.3 MB / 484.7 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01588/0.4037, allocations: 3.966 MB / 488.7 MB, free: 12.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008984/0.4126, allocations: 2.357 MB / 491.1 MB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02142/0.4341, allocations: 13.44 MB / 0.4927 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03552/0.4696, allocations: 15.17 MB / 0.5075 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0151/0.4847, allocations: 6.83 MB / 0.5142 GB, free: 6.996 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01512/0.4998, allocations: 7.612 MB / 0.5216 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006512/0.5063, allocations: 1.898 MB / 0.5234 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009361/0.5157, allocations: 2.339 MB / 0.5257 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007542/0.5232, allocations: 3.803 MB / 0.5294 GB, free: 7.309 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01585/0.5391, allocations: 7.198 MB / 0.5365 GB, free: 84 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2882/0.8272, allocations: 25.37 MB / 0.5613 GB, free: 39.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.8272, allocations: 0 / 0.5613 GB, free: 39.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.8272, allocations: 3.094 kB / 0.5613 GB, free: 39.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007982/0.828, allocations: 0.8125 kB / 0.5613 GB, free: 39.96 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3019 * Number of variables: 3019 Notification: Performance of Generate backend data structure: time 0.04685/0.8749, allocations: 15.07 MB / 0.576 GB, free: 32.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.8749, allocations: 11.62 kB / 0.576 GB, free: 32.21 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007713/0.8827, allocations: 1.539 MB / 0.5775 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0385/0.9211, allocations: 6.754 MB / 0.5841 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01975/0.9409, allocations: 8.231 MB / 0.5921 GB, free: 22.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007158/0.9416, allocations: 0.8047 MB / 0.5929 GB, free: 21.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005009/0.9466, allocations: 1.068 MB / 0.5939 GB, free: 20.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04405/0.9907, allocations: 17.46 MB / 0.611 GB, free: 2.934 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006207/0.9913, allocations: 23.19 kB / 0.611 GB, free: 2.914 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004594/0.9959, allocations: 449.5 kB / 0.6114 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005584/0.9964, allocations: 0.6436 MB / 0.6121 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0422/1.039, allocations: 16.42 MB / 0.6281 GB, free: 1.418 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1247/1.163, allocations: 54.33 MB / 0.6812 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02293/1.186, allocations: 12.02 MB / 0.6929 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008904/1.195, allocations: 4.033 MB / 0.6968 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0297/1.225, allocations: 12.08 MB / 0.7086 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006256/1.231, allocations: 3.098 MB / 0.7117 GB, free: 13.78 MB / 0.545 GB Notification: Performance of pre-optimization done (n=434): time 7.023e-06/1.231, allocations: 0 / 0.7117 GB, free: 13.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=452): time 0.06388/1.295, allocations: 22.95 MB / 0.7341 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002635/1.295, allocations: 411.4 kB / 0.7345 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01117/1.306, allocations: 4.604 MB / 0.739 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001015/1.307, allocations: 109.6 kB / 0.7391 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.006754/1.314, allocations: 4.907 MB / 0.7439 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002592/1.317, allocations: 1.621 MB / 0.7454 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004446/1.321, allocations: 1.149 MB / 0.7466 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.321, allocations: 305.1 kB / 0.7469 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00589/1.327, allocations: 2.838 MB / 0.7496 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008103/1.335, allocations: 5.023 MB / 0.7545 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2937/1.629, allocations: 8.319 MB / 0.7627 GB, free: 202.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.111e-05/1.629, allocations: 19.72 kB / 0.7627 GB, free: 202.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01739/1.647, allocations: 9.51 MB / 0.772 GB, free: 199.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.715e-05/1.647, allocations: 30.69 kB / 0.772 GB, free: 199.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001187/1.647, allocations: 66.88 kB / 0.7721 GB, free: 199.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003796/1.651, allocations: 1.476 MB / 0.7735 GB, free: 199.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005349/1.656, allocations: 1.341 MB / 0.7748 GB, free: 199.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01777/1.674, allocations: 17.09 MB / 0.7915 GB, free: 187.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0064/1.68, allocations: 345.1 kB / 0.7918 GB, free: 187.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001338/1.681, allocations: 294.2 kB / 0.7921 GB, free: 187.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 297 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (688): * Single equations (assignments): 682 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,4,100.0%), (1,5,100.0%), (1,13,100.0%), (1,4,100.0%), (14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00765/1.689, allocations: 3.917 MB / 0.7959 GB, free: 185.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001372/1.69, allocations: 0.5217 MB / 0.7964 GB, free: 185.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/1.703, allocations: 7.757 MB / 0.804 GB, free: 179.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-05/1.703, allocations: 51.98 kB / 0.8041 GB, free: 179.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/1.703, allocations: 16 kB / 0.8041 GB, free: 179.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.311e-05/1.703, allocations: 26.73 kB / 0.8041 GB, free: 179.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03025/1.734, allocations: 17.26 MB / 0.821 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/1.734, allocations: 4 kB / 0.821 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003049/1.737, allocations: 0.7645 MB / 0.8217 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003811/1.74, allocations: 1.562 MB / 0.8232 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004483/1.741, allocations: 120 kB / 0.8234 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01878/1.76, allocations: 20.58 MB / 0.8435 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.76, allocations: 4 kB / 0.8435 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.016/1.776, allocations: 11.33 MB / 0.8545 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003545/1.779, allocations: 1.132 MB / 0.8556 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001119/1.78, allocations: 100 kB / 0.8557 GB, free: 129 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002628/1.783, allocations: 227.8 kB / 0.8559 GB, free: 128.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007597/1.784, allocations: 367.3 kB / 0.8563 GB, free: 128.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002632/1.784, allocations: 140 kB / 0.8564 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004547/1.789, allocations: 3.14 MB / 0.8595 GB, free: 125.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/1.789, allocations: 0 / 0.8595 GB, free: 125.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008979/1.798, allocations: 1.886 MB / 0.8613 GB, free: 123.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (396): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (14,44,41.8%), (1,5,100.0%), (1,13,100.0%), (1,3,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.01678/1.814, allocations: 12.36 MB / 0.8734 GB, free: 110.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01243/1.827, allocations: 7.718 MB / 0.8809 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/1.827, allocations: 4.25 kB / 0.8809 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006993/1.834, allocations: 4.402 MB / 0.8852 GB, free: 98.67 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008286/1.842, allocations: 1.357 MB / 0.8866 GB, free: 97.35 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1061/1.948, allocations: 63.47 MB / 0.9485 GB, free: 31.51 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008162/1.956, allocations: 6.839 MB / 0.9552 GB, free: 24.64 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00528/1.962, allocations: 1.854 MB / 0.957 GB, free: 22.78 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005912/1.967, allocations: 4.092 MB / 0.961 GB, free: 18.68 MB / 0.5762 GB Notification: Performance of SimCode: time 1.603e-06/1.967, allocations: 0 / 0.961 GB, free: 18.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5004/2.468, allocations: 160.7 MB / 1.118 GB, free: 94.15 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.01/27.48, allocations: 4 kB / 1.118 GB, free: 94.15 MB / 0.5762 GB " [Timeout remaining time 632] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 81.23567242384888] Failed to read output from testmodel.py, exit status != 0: ['time', 'imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'imc.stator.zeroInductor.i0', 'imcQS.rotorCage.port_p.reference.gamma', 'mass.s', 'mass.v', 'massQS.s', 'massQS.v', 'vfController.x'] 27.733779381029308 27.746184244 26.916080626 Calling exit ...