Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.00121/0.00121, allocations: 88.28 kB / 21.43 MB, free: 3.109 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.001916/0.001916, allocations: 155.5 kB / 24.7 MB, free: 9.441 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 1.018/1.018, allocations: 177 MB / 204.9 MB, free: 5.691 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.2588/0.2588, allocations: 34.86 MB / 296.2 MB, free: 488 kB / 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.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=45999,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=45999,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 443.7 MB, free: 1.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.111e-05, allocations: 6.219 kB / 443.7 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.1821/0.1822, allocations: 8.71 MB / 452.4 MB, free: 38.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005629/0.1878, allocations: 3.556 MB / 456 MB, free: 36.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.1888, allocations: 60.19 kB / 456 MB, free: 36.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.1904, allocations: 0.6773 MB / 456.7 MB, free: 35.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0018/0.1922, allocations: 0.9536 MB / 457.7 MB, free: 35.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008533/0.193, allocations: 489.2 kB / 458.1 MB, free: 35.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002107/0.1951, allocations: 2.756 MB / 460.9 MB, free: 33.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.1965, allocations: 1.078 MB / 462 MB, free: 33.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.1979, allocations: 1.758 MB / 463.7 MB, free: 32.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009832/0.1988, allocations: 1.315 MB / 465 MB, free: 31.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000247/0.1991, allocations: 302.6 kB / 465.3 MB, free: 31.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005845/0.1997, allocations: 0.5544 MB / 465.9 MB, free: 31.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005149/0.2002, allocations: 1.073 MB / 467 MB, free: 31.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006062/0.2008, allocations: 0.9932 MB / 468 MB, free: 30.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.203, allocations: 4.349 MB / 472.3 MB, free: 29.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.203, allocations: 3.094 kB / 472.3 MB, free: 29.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.203, allocations: 0 / 472.3 MB, free: 29.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.469e-05/0.203, allocations: 0 / 472.3 MB, free: 29.18 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.002938/0.2059, allocations: 3.162 MB / 475.5 MB, free: 27.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.206, allocations: 9.719 kB / 475.5 MB, free: 27.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000557/0.2065, allocations: 377.3 kB / 475.9 MB, free: 27.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.2082, allocations: 1.667 MB / 477.5 MB, free: 26.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.797e-05/0.2082, allocations: 152.8 kB / 477.7 MB, free: 26.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.2084, allocations: 203 kB / 477.9 MB, free: 26.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002608/0.211, allocations: 2.804 MB / 480.7 MB, free: 24.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.205e-05/0.2111, allocations: 7.047 kB / 480.7 MB, free: 24.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.2112, allocations: 85.91 kB / 480.8 MB, free: 24.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.271e-05/0.2113, allocations: 98.86 kB / 480.9 MB, free: 24.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002314/0.2136, allocations: 2.268 MB / 483.1 MB, free: 23.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008014/0.2216, allocations: 7.071 MB / 490.2 MB, free: 20.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/0.2237, allocations: 1.311 MB / 491.5 MB, free: 19.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/0.2251, allocations: 1.023 MB / 492.5 MB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/0.2252, allocations: 52.67 kB / 492.6 MB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.2253, allocations: 44.75 kB / 492.6 MB, free: 19.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=116): time 3.487e-06/0.2253, allocations: 0 / 492.6 MB, free: 19.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=132): time 0.008527/0.2338, allocations: 6.092 MB / 498.7 MB, free: 16.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.2338, allocations: 69.12 kB / 498.8 MB, free: 16.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002233/0.2361, allocations: 2.046 MB / 0.4891 GB, free: 16.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.76e-05/0.2361, allocations: 46.61 kB / 0.4891 GB, free: 16.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005945/0.2367, allocations: 1.143 MB / 0.4903 GB, free: 15.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/0.237, allocations: 483.6 kB / 0.4907 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003115/0.2373, allocations: 238.1 kB / 0.4909 GB, free: 14.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.39e-05/0.2374, allocations: 358.1 kB / 0.4913 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.2384, allocations: 0.7674 MB / 0.492 GB, free: 14.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.2396, allocations: 1.007 MB / 0.493 GB, free: 13.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002506/0.2421, allocations: 1.861 MB / 0.4948 GB, free: 12.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.2421, allocations: 9.531 kB / 0.4948 GB, free: 12.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003782/0.2459, allocations: 2.739 MB / 0.4975 GB, free: 11.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.2459, allocations: 12.97 kB / 0.4975 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.2459, allocations: 7.891 kB / 0.4975 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/0.2472, allocations: 0.7795 MB / 0.4983 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006321/0.2478, allocations: 269.9 kB / 0.4986 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006315/0.2542, allocations: 9.223 MB / 0.5076 GB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/0.2547, allocations: 98.39 kB / 0.5077 GB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.69e-05/0.2548, allocations: 47.98 kB / 0.5077 GB, free: 2.852 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007868/0.2556, allocations: 0.7472 MB / 0.5084 GB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.2558, allocations: 198.8 kB / 0.5086 GB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.2582, allocations: 2.468 MB / 0.511 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.2583, allocations: 12 kB / 0.511 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.2583, allocations: 11.98 kB / 0.5111 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.2583, allocations: 3.984 kB / 0.5111 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005325/0.2636, allocations: 4.383 MB / 0.5153 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.2636, allocations: 4 kB / 0.5153 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005085/0.2641, allocations: 216.7 kB / 0.5155 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009512/0.2651, allocations: 0.6433 MB / 0.5162 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.759e-05/0.2651, allocations: 43.97 kB / 0.5162 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005961/0.2711, allocations: 8.263 MB / 0.5243 GB, free: 1.453 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2711, allocations: 0 / 0.5243 GB, free: 1.453 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003703/0.2748, allocations: 3.517 MB / 0.5277 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005263/0.2753, allocations: 358.6 kB / 0.5281 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.2755, allocations: 32.05 kB / 0.5281 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/0.2759, allocations: 83.91 kB / 0.5282 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/0.2761, allocations: 108.8 kB / 0.5283 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-05/0.2762, allocations: 39.98 kB / 0.5283 GB, free: 13.28 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001344/0.2775, allocations: 1.431 MB / 0.5297 GB, free: 11.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2775, allocations: 0 / 0.5297 GB, free: 11.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001335/0.2789, allocations: 0.5273 MB / 0.5302 GB, free: 11.33 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001128/0.28, allocations: 487.4 kB / 0.5307 GB, free: 11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002639/0.2826, allocations: 2.305 MB / 0.5329 GB, free: 8.664 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2826, allocations: 1.25 kB / 0.5329 GB, free: 8.664 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.2841, allocations: 1.455 MB / 0.5344 GB, free: 7.164 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.2852, allocations: 401.1 kB / 0.5348 GB, free: 6.781 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005401/0.2906, allocations: 5.078 MB / 0.5397 GB, free: 1.648 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009765/0.2915, allocations: 1.36 MB / 0.541 GB, free: 260 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/0.2918, allocations: 140.5 kB / 0.5412 GB, free: 120 kB / 442.7 MB Notification: Performance of SimCode: time 7.82e-07/0.2918, allocations: 4 kB / 0.5412 GB, free: 116 kB / 442.7 MB Notification: Performance of Templates: time 0.04633/0.3382, allocations: 64.57 MB / 0.6042 GB, free: 15.54 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.811276722233742]