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.0009921/0.0009921, allocations: 83.67 kB / 21.7 MB, free: 2.852 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.001097/0.001097, allocations: 159.5 kB / 24.99 MB, free: 9.328 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.93/0.93, allocations: 177 MB / 205.2 MB, free: 5.18 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.2304/0.2304, allocations: 34.87 MB / 296.6 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_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.643e-06/1.643e-06, allocations: 0 / 378.9 MB, free: 2.285 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.902e-05, allocations: 4 kB / 378.9 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03039/0.03041, allocations: 33.03 MB / 411.9 MB, free: 1.105 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01496/0.04537, allocations: 9.173 MB / 421.1 MB, free: 7.906 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003759/0.04913, allocations: 294.4 kB / 421.4 MB, free: 7.617 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009487/0.05862, allocations: 8.493 MB / 429.9 MB, free: 15.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007474/0.06609, allocations: 3.848 MB / 433.7 MB, free: 11.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003521/0.06961, allocations: 2.162 MB / 435.9 MB, free: 9.051 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1581/0.2277, allocations: 13.75 MB / 449.6 MB, free: 48.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01599/0.2437, allocations: 14.8 MB / 464.4 MB, free: 47.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008226/0.2519, allocations: 9.951 MB / 474.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006368/0.2582, allocations: 6.888 MB / 481.2 MB, free: 40.78 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002774/0.261, allocations: 1.878 MB / 483.1 MB, free: 40.78 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002854/0.2639, allocations: 2.265 MB / 485.4 MB, free: 40.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001797/0.2657, allocations: 3.897 MB / 489.3 MB, free: 38.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004134/0.2698, allocations: 4.854 MB / 494.1 MB, free: 35.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009107/0.2789, allocations: 11.84 MB / 0.4941 GB, free: 30.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2789, allocations: 0.8125 kB / 0.4941 GB, free: 30.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2789, allocations: 0 / 0.4941 GB, free: 30.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002093/0.2791, allocations: 0.8125 kB / 0.4941 GB, free: 30.45 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.02027/0.2994, allocations: 15.57 MB / 0.5093 GB, free: 22.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.2994, allocations: 7.375 kB / 0.5093 GB, free: 22.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02225/0.3217, allocations: 8.603 MB / 0.5177 GB, free: 18.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008876/0.3306, allocations: 7.829 MB / 0.5254 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002733/0.3308, allocations: 0.7946 MB / 0.5262 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001123/0.332, allocations: 1.046 MB / 0.5272 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01331/0.3453, allocations: 9.313 MB / 0.5363 GB, free: 1.574 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001689/0.3454, allocations: 15.75 kB / 0.5363 GB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007554/0.3462, allocations: 439.2 kB / 0.5367 GB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003191/0.3465, allocations: 0.6382 MB / 0.5373 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01019/0.3567, allocations: 5.222 MB / 0.5424 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04279/0.3995, allocations: 43.42 MB / 0.5848 GB, free: 15.81 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/0.4102, allocations: 9.218 MB / 0.5938 GB, free: 7.738 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0026/0.4128, allocations: 1.976 MB / 0.5958 GB, free: 5.777 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008888/0.4217, allocations: 6.833 MB / 0.6024 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/0.4218, allocations: 80.62 kB / 0.6025 GB, free: 14.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=398): time 5.651e-06/0.4218, allocations: 3.656 kB / 0.6025 GB, free: 14.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=423): time 0.02357/0.4453, allocations: 13.7 MB / 0.6159 GB, free: 1.195 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.4454, allocations: 120.7 kB / 0.616 GB, free: 1.059 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1533/0.5987, allocations: 3.843 MB / 0.6198 GB, free: 147 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007764/0.5995, allocations: 96.73 kB / 0.6199 GB, free: 147 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002217/0.6017, allocations: 5.064 MB / 0.6248 GB, free: 145.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009961/0.6027, allocations: 1.547 MB / 0.6263 GB, free: 144.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001592/0.6043, allocations: 1.242 MB / 0.6275 GB, free: 144.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.981e-05/0.6043, allocations: 487.1 kB / 0.628 GB, free: 143.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002074/0.6064, allocations: 0.9481 MB / 0.6289 GB, free: 143.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003026/0.6094, allocations: 4.004 MB / 0.6328 GB, free: 140.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005577/0.615, allocations: 5.458 MB / 0.6382 GB, free: 136.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.501e-05/0.615, allocations: 18.94 kB / 0.6382 GB, free: 136.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01001/0.625, allocations: 5.779 MB / 0.6438 GB, free: 135.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.6251, allocations: 38 kB / 0.6439 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.195e-05/0.6252, allocations: 64.94 kB / 0.6439 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004127/0.6293, allocations: 1.523 MB / 0.6454 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003306/0.6326, allocations: 1.321 MB / 0.6467 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/0.6453, allocations: 13.38 MB / 0.6598 GB, free: 126.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002789/0.6481, allocations: 322.3 kB / 0.6601 GB, free: 126.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003348/0.6484, allocations: 289.6 kB / 0.6603 GB, free: 126.6 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.001894/0.6503, allocations: 0.5334 MB / 0.6609 GB, free: 126.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007434/0.651, allocations: 0.6129 MB / 0.6615 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006532/0.6576, allocations: 4.321 MB / 0.6657 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.747e-05/0.6576, allocations: 47.19 kB / 0.6657 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.774e-05/0.6576, allocations: 16 kB / 0.6657 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.461e-05/0.6577, allocations: 24.36 kB / 0.6658 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01539/0.673, allocations: 12.05 MB / 0.6775 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.6731, allocations: 6 kB / 0.6775 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/0.6746, allocations: 0.7274 MB / 0.6783 GB, free: 119 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002673/0.6773, allocations: 1.42 MB / 0.6796 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002113/0.6775, allocations: 111.3 kB / 0.6798 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009782/0.6873, allocations: 18.71 MB / 0.698 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.6873, allocations: 11.72 kB / 0.698 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007034/0.6944, allocations: 5.606 MB / 0.7035 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/0.6956, allocations: 1.001 MB / 0.7045 GB, free: 99.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004136/0.696, allocations: 89.3 kB / 0.7046 GB, free: 99.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.6972, allocations: 221.4 kB / 0.7048 GB, free: 99.78 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004687/0.6976, allocations: 357.9 kB / 0.7051 GB, free: 99.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001948/0.6978, allocations: 136.1 kB / 0.7053 GB, free: 99.69 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002013/0.6999, allocations: 1.897 MB / 0.7071 GB, free: 99.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6999, allocations: 0 / 0.7071 GB, free: 99.07 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004012/0.7039, allocations: 1.859 MB / 0.7089 GB, free: 98.7 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.0004211/0.7043, allocations: 274.2 kB / 0.7092 GB, free: 98.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005765/0.71, allocations: 5.069 MB / 0.7141 GB, free: 93.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.7101, allocations: 4.5 kB / 0.7141 GB, free: 93.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003036/0.7131, allocations: 3.481 MB / 0.7175 GB, free: 90.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/0.7156, allocations: 1.147 MB / 0.7187 GB, free: 89.67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/0.7319, allocations: 16.36 MB / 0.7346 GB, free: 74.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001834/0.7337, allocations: 2.854 MB / 0.7374 GB, free: 72.34 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002427/0.7362, allocations: 1.543 MB / 0.7389 GB, free: 71.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006929/0.7369, allocations: 384.4 kB / 0.7393 GB, free: 70.67 MB / 490.7 MB Notification: Performance of SimCode: time 1.303e-06/0.7369, allocations: 4 kB / 0.7393 GB, free: 70.67 MB / 490.7 MB Notification: Performance of Templates: time 0.205/0.9419, allocations: 73.89 MB / 0.8115 GB, free: 147.4 MB / 490.7 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.3321305548306555]