Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.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.0009399/0.0009399, allocations: 92.28 kB / 21.44 MB, free: 3.098 MB / 18.57 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.000967/0.000967, allocations: 152.4 kB / 24.69 MB, free: 8.883 MB / 18.57 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 0.9326/0.9326, allocations: 177 MB / 204.9 MB, free: 5.684 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2645/0.2645, allocations: 34.86 MB / 296.2 MB, free: 0.5078 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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: translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 443.7 MB, free: 1.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.746e-05, allocations: 2.281 kB / 443.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.2254/0.2254, allocations: 29.91 MB / 473.6 MB, free: 24.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01519/0.2406, allocations: 9.692 MB / 483.3 MB, free: 17.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005295/0.2459, allocations: 306.4 kB / 483.6 MB, free: 17.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008334/0.2543, allocations: 8.091 MB / 491.7 MB, free: 13.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007227/0.2615, allocations: 3.966 MB / 495.7 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00311/0.2646, allocations: 2.307 MB / 498 MB, free: 9.324 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01411/0.2787, allocations: 13.93 MB / 0.4999 GB, free: 1.992 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02496/0.3037, allocations: 14.97 MB / 0.5145 GB, free: 9.523 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02446/0.3281, allocations: 9.985 MB / 0.5243 GB, free: 2.57 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01441/0.3425, allocations: 6.357 MB / 0.5305 GB, free: 12.2 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005778/0.3483, allocations: 1.898 MB / 0.5323 GB, free: 10.3 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008394/0.3567, allocations: 2.319 MB / 0.5346 GB, free: 7.98 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003209/0.3599, allocations: 3.877 MB / 0.5384 GB, free: 4.094 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01104/0.371, allocations: 4.838 MB / 0.5431 GB, free: 15.24 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02289/0.3938, allocations: 25.7 MB / 0.5682 GB, free: 5.48 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.3938, allocations: 4 kB / 0.5682 GB, free: 5.477 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.3939, allocations: 0 / 0.5682 GB, free: 5.477 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006946/0.3945, allocations: 0 / 0.5682 GB, free: 5.477 MB / 474.7 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.03385/0.4284, allocations: 14.94 MB / 0.5828 GB, free: 6.422 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.4284, allocations: 8.031 kB / 0.5828 GB, free: 6.414 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03046/0.4589, allocations: 6.763 MB / 0.5894 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01927/0.4782, allocations: 8.209 MB / 0.5974 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006994/0.4789, allocations: 0.8107 MB / 0.5982 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003656/0.4825, allocations: 1.07 MB / 0.5993 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03019/0.5127, allocations: 17.76 MB / 0.6166 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001919/0.5129, allocations: 20.77 kB / 0.6166 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001101/0.514, allocations: 452 kB / 0.6171 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004414/0.5145, allocations: 0.6397 MB / 0.6177 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02498/0.5394, allocations: 16.35 MB / 0.6337 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4947/1.034, allocations: 48.05 MB / 0.6806 GB, free: 102.7 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01709/1.051, allocations: 11.93 MB / 0.6922 GB, free: 98.99 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006419/1.058, allocations: 4.042 MB / 0.6962 GB, free: 97.43 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02016/1.078, allocations: 10.96 MB / 0.7069 GB, free: 92.36 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003746/1.082, allocations: 3.407 MB / 0.7102 GB, free: 90.7 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=434): time 1.282e-05/1.082, allocations: 3.375 kB / 0.7102 GB, free: 90.7 MB / 0.5262 GB Notification: Performance of matching and sorting (n=452): time 0.03305/1.115, allocations: 22.92 MB / 0.7326 GB, free: 80.13 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.748e-05/1.115, allocations: 407.4 kB / 0.733 GB, free: 79.64 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004656/1.119, allocations: 4.253 MB / 0.7371 GB, free: 75.45 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0008125/1.12, allocations: 101.7 kB / 0.7372 GB, free: 75.34 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0026/1.123, allocations: 4.922 MB / 0.742 GB, free: 70.92 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001348/1.124, allocations: 1.605 MB / 0.7436 GB, free: 69.34 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001188/1.125, allocations: 1.141 MB / 0.7447 GB, free: 68.18 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 2.857e-05/1.125, allocations: 301.1 kB / 0.745 GB, free: 67.89 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002746/1.128, allocations: 2.846 MB / 0.7478 GB, free: 65.04 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003583/1.132, allocations: 5.37 MB / 0.753 GB, free: 58.61 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007923/1.14, allocations: 8.324 MB / 0.7612 GB, free: 49.37 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.65e-05/1.14, allocations: 16 kB / 0.7612 GB, free: 49.36 MB / 0.5262 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01471/1.154, allocations: 9.48 MB / 0.7704 GB, free: 39.84 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 6.355e-05/1.154, allocations: 36 kB / 0.7705 GB, free: 39.81 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001156/1.155, allocations: 64 kB / 0.7705 GB, free: 39.75 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002952/1.157, allocations: 1.483 MB / 0.772 GB, free: 38.25 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004037/1.161, allocations: 1.33 MB / 0.7733 GB, free: 36.91 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02353/1.185, allocations: 16.73 MB / 0.7896 GB, free: 19.69 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007558/1.193, allocations: 355.7 kB / 0.79 GB, free: 19.34 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/1.194, allocations: 284 kB / 0.7902 GB, free: 19.06 MB / 0.5262 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.01636/1.21, allocations: 3.905 MB / 0.794 GB, free: 15.14 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/1.211, allocations: 0.489 MB / 0.7945 GB, free: 14.65 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01707/1.228, allocations: 7.738 MB / 0.8021 GB, free: 6.867 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/1.228, allocations: 44 kB / 0.8021 GB, free: 6.824 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.932e-05/1.228, allocations: 16 kB / 0.8021 GB, free: 6.809 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.839e-05/1.228, allocations: 27.91 kB / 0.8022 GB, free: 6.781 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02402/1.252, allocations: 14.93 MB / 0.8167 GB, free: 7.82 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/1.252, allocations: 4 kB / 0.8167 GB, free: 7.816 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/1.254, allocations: 0.769 MB / 0.8175 GB, free: 7.047 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002761/1.257, allocations: 1.558 MB / 0.819 GB, free: 5.465 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004417/1.258, allocations: 123.9 kB / 0.8191 GB, free: 5.344 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01678/1.274, allocations: 20.1 MB / 0.8388 GB, free: 0.5625 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.274, allocations: 7.938 kB / 0.8388 GB, free: 0.5547 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01606/1.29, allocations: 11.29 MB / 0.8498 GB, free: 5.16 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002839/1.293, allocations: 1.082 MB / 0.8508 GB, free: 4.074 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/1.294, allocations: 104 kB / 0.8509 GB, free: 3.973 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/1.296, allocations: 223.8 kB / 0.8512 GB, free: 3.754 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007152/1.297, allocations: 363.5 kB / 0.8515 GB, free: 3.398 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002071/1.297, allocations: 144 kB / 0.8516 GB, free: 3.258 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003933/1.301, allocations: 2.802 MB / 0.8544 GB, free: 460 kB / 0.573 GB Notification: Performance of sort global known variables: time 1.81e-07/1.301, allocations: 0 / 0.8544 GB, free: 460 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.2652/1.566, allocations: 1.876 MB / 0.8562 GB, free: 164.2 MB / 0.573 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 (397): * Single equations (assignments): 388 * 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,3,100.0%), (1,8,100.0%), (1,13,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.003012/1.569, allocations: 0.6087 MB / 0.8568 GB, free: 164.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01248/1.581, allocations: 7.714 MB / 0.8643 GB, free: 163.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.581, allocations: 7 kB / 0.8643 GB, free: 163.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006189/1.588, allocations: 4.381 MB / 0.8686 GB, free: 161.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005948/1.594, allocations: 1.151 MB / 0.8697 GB, free: 161.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03432/1.628, allocations: 19.2 MB / 0.8885 GB, free: 152.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01069/1.639, allocations: 6.228 MB / 0.8946 GB, free: 150.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00235/1.641, allocations: 450.1 kB / 0.895 GB, free: 150.4 MB / 0.573 GB Notification: Performance of SimCode: time 3.697e-06/1.641, allocations: 0 / 0.895 GB, free: 150.4 MB / 0.573 GB Notification: Performance of Templates: time 0.9113/2.552, allocations: 0.5203 GB / 1.415 GB, free: 101 MB / 0.5887 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 13.658336494583637]