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.001794/0.001794, allocations: 120.2 kB / 18.5 MB, free: 4.535 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.002068/0.002068, allocations: 222.2 kB / 21.46 MB, free: 1.582 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.544/1.544, allocations: 230.4 MB / 254.7 MB, free: 15.04 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 67.89 kB / 373.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.11, allocations: 53.37 MB / 427.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.2481/0.3581, allocations: 34.78 MB / 461.9 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02523/0.3833, allocations: 10.04 MB / 471.9 MB, free: 13.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009065/0.3924, allocations: 307.9 kB / 472.2 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02134/0.4137, allocations: 8.256 MB / 480.5 MB, free: 7.578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01651/0.4303, allocations: 3.885 MB / 484.4 MB, free: 4.465 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009229/0.4395, allocations: 2.301 MB / 486.7 MB, free: 2.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02173/0.4612, allocations: 13.33 MB / 500 MB, free: 7.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03115/0.4924, allocations: 17.03 MB / 0.5049 GB, free: 6.668 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01281/0.5052, allocations: 6.779 MB / 0.5115 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01572/0.5209, allocations: 7.588 MB / 0.5189 GB, free: 8.258 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006061/0.527, allocations: 1.898 MB / 0.5208 GB, free: 6.359 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008492/0.5355, allocations: 2.324 MB / 0.5231 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006535/0.542, allocations: 3.807 MB / 0.5268 GB, free: 224 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0157/0.5577, allocations: 7.21 MB / 0.5338 GB, free: 8.977 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03977/0.5975, allocations: 25.36 MB / 0.5586 GB, free: 15.54 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.5975, allocations: 0 / 0.5586 GB, free: 15.54 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5975, allocations: 0 / 0.5586 GB, free: 15.54 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000714/0.5982, allocations: 0 / 0.5586 GB, free: 15.54 MB / 478.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.04743/0.6456, allocations: 15.14 MB / 0.5734 GB, free: 272 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.6457, allocations: 12.03 kB / 0.5734 GB, free: 260 kB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003391/0.646, allocations: 294.5 kB / 0.5737 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006599/0.6526, allocations: 1.543 MB / 0.5752 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04026/0.6928, allocations: 6.754 MB / 0.5818 GB, free: 7.641 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02085/0.7137, allocations: 8.217 MB / 0.5898 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001135/0.7148, allocations: 0.8068 MB / 0.5906 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004721/0.7196, allocations: 1.078 MB / 0.5916 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04793/0.7675, allocations: 17.45 MB / 0.6087 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005484/0.768, allocations: 15.95 kB / 0.6087 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004808/0.7728, allocations: 451.9 kB / 0.6091 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001022/0.7739, allocations: 0.6474 MB / 0.6097 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2698/1.044, allocations: 16.42 MB / 0.6258 GB, free: 147.1 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0947/1.138, allocations: 55.45 MB / 0.6799 GB, free: 111.4 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02091/1.159, allocations: 33.19 MB / 0.7123 GB, free: 79.82 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006291/1.166, allocations: 4.047 MB / 0.7163 GB, free: 76.82 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0192/1.185, allocations: 12.47 MB / 0.7285 GB, free: 64.37 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003533/1.188, allocations: 3.108 MB / 0.7315 GB, free: 61.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=434): time 5.61e-06/1.188, allocations: 0 / 0.7315 GB, free: 61.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=452): time 0.04407/1.232, allocations: 23.63 MB / 0.7546 GB, free: 37.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/1.232, allocations: 407.4 kB / 0.755 GB, free: 36.95 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005916/1.238, allocations: 4.615 MB / 0.7595 GB, free: 32.32 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008379/1.239, allocations: 101.7 kB / 0.7596 GB, free: 32.22 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003053/1.242, allocations: 4.912 MB / 0.7644 GB, free: 27.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001485/1.244, allocations: 1.621 MB / 0.7659 GB, free: 25.69 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001595/1.245, allocations: 1.149 MB / 0.7671 GB, free: 24.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.126e-05/1.245, allocations: 301.1 kB / 0.7674 GB, free: 24.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003524/1.249, allocations: 2.834 MB / 0.7701 GB, free: 21.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004546/1.253, allocations: 5.024 MB / 0.775 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00949/1.263, allocations: 8.323 MB / 0.7832 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-05/1.263, allocations: 20 kB / 0.7832 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01689/1.28, allocations: 9.582 MB / 0.7925 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.713e-05/1.28, allocations: 36.78 kB / 0.7926 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001214/1.28, allocations: 67.94 kB / 0.7926 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004543/1.285, allocations: 1.489 MB / 0.7941 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005685/1.29, allocations: 1.338 MB / 0.7954 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02404/1.314, allocations: 17.62 MB / 0.8126 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005375/1.32, allocations: 351.6 kB / 0.8129 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001545/1.321, allocations: 284 kB / 0.8132 GB, free: 6.633 MB / 0.545 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.008607/1.33, allocations: 3.913 MB / 0.817 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001438/1.331, allocations: 0.5279 MB / 0.8175 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01642/1.348, allocations: 7.899 MB / 0.8253 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-05/1.348, allocations: 44 kB / 0.8253 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.829e-05/1.348, allocations: 24 kB / 0.8253 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.803e-05/1.348, allocations: 23.91 kB / 0.8253 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2754/1.623, allocations: 17.39 MB / 0.8423 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.513e-05/1.623, allocations: 5.266 kB / 0.8423 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004017/1.627, allocations: 0.7725 MB / 0.8431 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005023/1.632, allocations: 1.566 MB / 0.8446 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009401/1.633, allocations: 117.4 kB / 0.8447 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02276/1.656, allocations: 21.27 MB / 0.8655 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/1.656, allocations: 9.094 kB / 0.8655 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01886/1.675, allocations: 11.48 MB / 0.8767 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003019/1.678, allocations: 1.176 MB / 0.8779 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001113/1.679, allocations: 105.9 kB / 0.878 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002875/1.682, allocations: 232.1 kB / 0.8782 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009867/1.683, allocations: 342.5 kB / 0.8785 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002954/1.683, allocations: 144.7 kB / 0.8787 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004436/1.688, allocations: 3.135 MB / 0.8817 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.688, allocations: 3.969 kB / 0.8817 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00696/1.695, allocations: 1.883 MB / 0.8836 GB, free: 160.4 MB / 0.5606 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.0181/1.713, allocations: 12.53 MB / 0.8958 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01202/1.725, allocations: 7.794 MB / 0.9034 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.725, allocations: 2.75 kB / 0.9034 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007356/1.732, allocations: 4.397 MB / 0.9077 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006877/1.739, allocations: 1.356 MB / 0.909 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09456/1.834, allocations: 63.47 MB / 0.971 GB, free: 77.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006801/1.84, allocations: 6.843 MB / 0.9777 GB, free: 70.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005075/1.846, allocations: 1.858 MB / 0.9795 GB, free: 68.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005798/1.851, allocations: 4.088 MB / 0.9835 GB, free: 64.57 MB / 0.5606 GB Notification: Performance of SimCode: time 1.603e-06/1.851, allocations: 0 / 0.9835 GB, free: 64.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4819/2.333, allocations: 155.5 MB / 1.135 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.82/25.15, allocations: 8.219 kB / 1.135 GB, free: 130.5 MB / 0.5606 GB " [Timeout remaining time 635] (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: 79.40613745100563] 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'] 25.44750537496293 25.463496984 24.862347737 Calling exit ...