Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.001398/0.001398, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001406/0.001406, allocations: 162.9 kB / 24.99 MB, free: 9.316 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.8992/0.8992, allocations: 177 MB / 205.2 MB, free: 5.176 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.2403/0.2403, allocations: 34.86 MB / 296.6 MB, free: 0.5391 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_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 378.1 MB, free: 3.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.81e-05, allocations: 6.25 kB / 378.1 MB, free: 3.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02939/0.02941, allocations: 33.04 MB / 411.1 MB, free: 1.887 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01459/0.04399, allocations: 9.169 MB / 420.3 MB, free: 8.691 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003735/0.04773, allocations: 294.4 kB / 420.6 MB, free: 8.402 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008839/0.05657, allocations: 8.496 MB / 429.1 MB, free: 15.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00639/0.06296, allocations: 3.845 MB / 432.9 MB, free: 12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003138/0.0661, allocations: 2.163 MB / 435.1 MB, free: 9.832 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1635/0.2296, allocations: 13.75 MB / 448.8 MB, free: 47.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02272/0.2523, allocations: 14.8 MB / 463.6 MB, free: 47.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01593/0.2682, allocations: 9.95 MB / 473.6 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01016/0.2784, allocations: 6.91 MB / 480.5 MB, free: 40.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005369/0.2838, allocations: 1.882 MB / 482.4 MB, free: 40.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007043/0.2908, allocations: 2.265 MB / 484.6 MB, free: 40.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004969/0.2958, allocations: 3.895 MB / 488.5 MB, free: 38.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009133/0.3049, allocations: 4.848 MB / 493.4 MB, free: 35.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01169/0.3166, allocations: 11.86 MB / 0.4934 GB, free: 30.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3166, allocations: 0 / 0.4934 GB, free: 30.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3166, allocations: 0 / 0.4934 GB, free: 30.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000576/0.3172, allocations: 0.8125 kB / 0.4934 GB, free: 30.35 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.02774/0.3449, allocations: 15.56 MB / 0.5086 GB, free: 22.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3449, allocations: 8.625 kB / 0.5086 GB, free: 22.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02208/0.367, allocations: 8.612 MB / 0.517 GB, free: 19.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.015/0.382, allocations: 7.823 MB / 0.5246 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005948/0.3826, allocations: 0.7904 MB / 0.5254 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003485/0.3861, allocations: 1.054 MB / 0.5265 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02558/0.4117, allocations: 9.308 MB / 0.5355 GB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002583/0.4119, allocations: 19.56 kB / 0.5356 GB, free: 2.039 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001082/0.413, allocations: 444.8 kB / 0.536 GB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004921/0.4135, allocations: 0.6275 MB / 0.5366 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01679/0.4303, allocations: 5.221 MB / 0.5417 GB, free: 11.74 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06429/0.4946, allocations: 43.41 MB / 0.5841 GB, free: 312 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/0.5064, allocations: 9.231 MB / 0.5931 GB, free: 8.223 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002682/0.5091, allocations: 1.961 MB / 0.595 GB, free: 6.27 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01017/0.5193, allocations: 6.843 MB / 0.6017 GB, free: 15.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.367e-05/0.5194, allocations: 84.02 kB / 0.6018 GB, free: 15.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=398): time 5.591e-06/0.5194, allocations: 0 / 0.6018 GB, free: 15.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=423): time 0.02457/0.5439, allocations: 13.69 MB / 0.6151 GB, free: 1.668 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.544, allocations: 124.1 kB / 0.6153 GB, free: 1.531 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1715/0.7155, allocations: 3.842 MB / 0.619 GB, free: 146.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009051/0.7164, allocations: 98.05 kB / 0.6191 GB, free: 146.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002023/0.7184, allocations: 5.074 MB / 0.6241 GB, free: 145 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009489/0.7194, allocations: 1.548 MB / 0.6256 GB, free: 144 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001284/0.7207, allocations: 1.247 MB / 0.6268 GB, free: 143.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.351e-05/0.7207, allocations: 480.5 kB / 0.6273 GB, free: 143.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/0.7224, allocations: 0.955 MB / 0.6282 GB, free: 143.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002456/0.7248, allocations: 4.006 MB / 0.6321 GB, free: 139.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004663/0.7295, allocations: 5.451 MB / 0.6374 GB, free: 136 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.154e-05/0.7295, allocations: 22.56 kB / 0.6374 GB, free: 136 MB / 490.7 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.008166/0.7377, allocations: 5.778 MB / 0.6431 GB, free: 135 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/0.7377, allocations: 32.5 kB / 0.6431 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-05/0.7378, allocations: 73.48 kB / 0.6432 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003306/0.7411, allocations: 1.521 MB / 0.6447 GB, free: 134.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002639/0.7437, allocations: 1.317 MB / 0.646 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/0.7544, allocations: 13.39 MB / 0.659 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/0.7574, allocations: 320.5 kB / 0.6593 GB, free: 126.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004062/0.7578, allocations: 289.1 kB / 0.6596 GB, free: 126.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (671): * Single equations (assignments): 667 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002386/0.7602, allocations: 0.5364 MB / 0.6601 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008699/0.7611, allocations: 0.6127 MB / 0.6607 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006842/0.7679, allocations: 4.312 MB / 0.6649 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.948e-05/0.7679, allocations: 46 kB / 0.665 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-05/0.768, allocations: 16.72 kB / 0.665 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.513e-05/0.768, allocations: 20.55 kB / 0.665 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01818/0.7862, allocations: 12.06 MB / 0.6768 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.7862, allocations: 5.938 kB / 0.6768 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001669/0.7879, allocations: 0.7331 MB / 0.6775 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002823/0.7907, allocations: 1.416 MB / 0.6789 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002491/0.7909, allocations: 106.2 kB / 0.679 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/0.8014, allocations: 18.71 MB / 0.6973 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.8014, allocations: 13.59 kB / 0.6973 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007907/0.8093, allocations: 5.612 MB / 0.7028 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/0.811, allocations: 0.9979 MB / 0.7037 GB, free: 99.65 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003886/0.8114, allocations: 88.41 kB / 0.7038 GB, free: 99.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.8126, allocations: 225.9 kB / 0.704 GB, free: 99.53 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004997/0.8131, allocations: 354 kB / 0.7044 GB, free: 99.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/0.8133, allocations: 131.1 kB / 0.7045 GB, free: 99.44 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002435/0.8158, allocations: 1.903 MB / 0.7064 GB, free: 98.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8158, allocations: 4 kB / 0.7064 GB, free: 98.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004687/0.8204, allocations: 1.854 MB / 0.7082 GB, free: 98.64 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,1,100.0%), (14,44,41.3%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004585/0.8209, allocations: 284.4 kB / 0.7085 GB, free: 98.44 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006303/0.8272, allocations: 5.06 MB / 0.7134 GB, free: 93.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.8272, allocations: 0 / 0.7134 GB, free: 93.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00325/0.8305, allocations: 3.489 MB / 0.7168 GB, free: 90.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003115/0.8336, allocations: 1.145 MB / 0.7179 GB, free: 89.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02047/0.854, allocations: 16.09 MB / 0.7336 GB, free: 74.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003657/0.8577, allocations: 5.648 MB / 0.7392 GB, free: 70.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001402/0.8591, allocations: 440.4 kB / 0.7396 GB, free: 69.63 MB / 490.7 MB Notification: Performance of SimCode: time 2.995e-06/0.8591, allocations: 0 / 0.7396 GB, free: 69.63 MB / 490.7 MB Notification: Performance of Templates: time 0.7189/1.578, allocations: 464.5 MB / 1.193 GB, free: 158.2 MB / 0.4948 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.633363634813577]