Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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.0009989/0.0009989, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.00101/0.00101, allocations: 170 kB / 24.82 MB, free: 9.254 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.067/1.067, allocations: 177 MB / 205.1 MB, free: 5.488 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.2785/0.2785, allocations: 34.85 MB / 296.6 MB, free: 460 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_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 379.3 MB, free: 1.723 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.525e-05, allocations: 2.312 kB / 379.3 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01018/0.0102, allocations: 12.53 MB / 391.8 MB, free: 5.129 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008672/0.01887, allocations: 4.214 MB / 396.1 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.02036, allocations: 103.3 kB / 396.2 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.02235, allocations: 0.9779 MB / 397.1 MB, free: 15.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002674/0.02503, allocations: 1.308 MB / 398.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009521/0.02598, allocations: 0.5421 MB / 399 MB, free: 13.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004288/0.03027, allocations: 4.842 MB / 403.8 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002636/0.03291, allocations: 2.019 MB / 405.8 MB, free: 7.008 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004229/0.03713, allocations: 3.406 MB / 409.3 MB, free: 3.629 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002963/0.0401, allocations: 2.467 MB / 411.7 MB, free: 1.156 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008205/0.04092, allocations: 0.543 MB / 412.3 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009376/0.04186, allocations: 0.6521 MB / 412.9 MB, free: 15.96 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001089/0.04294, allocations: 1.578 MB / 414.5 MB, free: 14.38 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001703/0.04465, allocations: 1.723 MB / 416.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00373/0.04838, allocations: 4.058 MB / 420.3 MB, free: 8.582 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.04838, allocations: 0 / 420.3 MB, free: 8.582 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.04838, allocations: 0 / 420.3 MB, free: 8.582 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.346e-05/0.04846, allocations: 0 / 420.3 MB, free: 8.582 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.006041/0.0545, allocations: 4.81 MB / 425.1 MB, free: 3.707 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.05453, allocations: 12.03 kB / 425.1 MB, free: 3.695 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.05613, allocations: 0.8339 MB / 425.9 MB, free: 2.859 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002663/0.05879, allocations: 2.247 MB / 428.2 MB, free: 0.543 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.05896, allocations: 271.4 kB / 428.4 MB, free: 284 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004148/0.05938, allocations: 356.4 kB / 428.8 MB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003606/0.06298, allocations: 2.815 MB / 431.6 MB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.259e-05/0.06305, allocations: 7.938 kB / 431.6 MB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002521/0.0633, allocations: 144 kB / 431.8 MB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001619/0.06346, allocations: 191.1 kB / 431.9 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.06568, allocations: 1.044 MB / 433 MB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1677/0.2334, allocations: 11.65 MB / 444.6 MB, free: 89.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.2353, allocations: 1.399 MB / 446 MB, free: 89.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009677/0.2363, allocations: 0.8403 MB / 446.9 MB, free: 89.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/0.2364, allocations: 71.25 kB / 446.9 MB, free: 89.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.2365, allocations: 59.39 kB / 447 MB, free: 89.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=198): time 4.739e-06/0.2365, allocations: 0 / 447 MB, free: 89.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.006708/0.2432, allocations: 4.064 MB / 451.1 MB, free: 89.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.2432, allocations: 75.53 kB / 451.1 MB, free: 89.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.2449, allocations: 1.831 MB / 453 MB, free: 88.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.245, allocations: 63.36 kB / 453 MB, free: 88.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007893/0.2458, allocations: 1.804 MB / 454.8 MB, free: 88.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000393/0.2462, allocations: 0.798 MB / 455.6 MB, free: 87.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004472/0.2467, allocations: 446.1 kB / 456.1 MB, free: 87.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.117e-05/0.2467, allocations: 487.7 kB / 456.5 MB, free: 87.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004121/0.2471, allocations: 283.2 kB / 456.8 MB, free: 87.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005807/0.2477, allocations: 0.9636 MB / 457.8 MB, free: 86.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.2488, allocations: 1.463 MB / 459.3 MB, free: 85.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/0.2489, allocations: 3.031 kB / 459.3 MB, free: 85.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002369/0.2512, allocations: 1.896 MB / 461.2 MB, free: 85.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.2513, allocations: 9.5 kB / 461.2 MB, free: 85.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.2513, allocations: 12.72 kB / 461.2 MB, free: 85.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/0.2526, allocations: 0.598 MB / 461.8 MB, free: 85.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009943/0.2536, allocations: 0.4902 MB / 462.3 MB, free: 85.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00385/0.2574, allocations: 7.552 MB / 469.8 MB, free: 79.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.2585, allocations: 74.45 kB / 469.9 MB, free: 79.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.2586, allocations: 78.12 kB / 470 MB, free: 79.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008596/0.2595, allocations: 291.7 kB / 470.2 MB, free: 79.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003798/0.2598, allocations: 338.7 kB / 470.6 MB, free: 79.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/0.2617, allocations: 1.665 MB / 472.2 MB, free: 78.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.2618, allocations: 19.16 kB / 472.3 MB, free: 78.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.2618, allocations: 9.656 kB / 472.3 MB, free: 78.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.2618, allocations: 9.797 kB / 472.3 MB, free: 78.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005371/0.2672, allocations: 4.111 MB / 476.4 MB, free: 77.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.2672, allocations: 3.156 kB / 476.4 MB, free: 77.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008403/0.268, allocations: 357.9 kB / 476.7 MB, free: 77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/0.2696, allocations: 0.6361 MB / 477.4 MB, free: 76.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002121/0.2698, allocations: 53.03 kB / 477.4 MB, free: 76.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004655/0.2744, allocations: 9.258 MB / 486.7 MB, free: 68.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2744, allocations: 3.781 kB / 486.7 MB, free: 68.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003312/0.2777, allocations: 2.29 MB / 489 MB, free: 67.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007752/0.2785, allocations: 447.3 kB / 489.4 MB, free: 67.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/0.2788, allocations: 49.56 kB / 489.5 MB, free: 67.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000602/0.2794, allocations: 87.73 kB / 489.6 MB, free: 67.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/0.2796, allocations: 172.1 kB / 489.7 MB, free: 67.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.64e-05/0.2797, allocations: 43.31 kB / 489.8 MB, free: 67.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009768/0.2807, allocations: 0.9781 MB / 490.7 MB, free: 67.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2807, allocations: 0 / 490.7 MB, free: 67.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002026/0.2827, allocations: 0.7946 MB / 491.5 MB, free: 67.03 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(3,25,88.9%), (2,12,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004474/0.2832, allocations: 244.9 kB / 491.8 MB, free: 66.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002345/0.2855, allocations: 2.02 MB / 493.8 MB, free: 66.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.2855, allocations: 1.156 kB / 493.8 MB, free: 66.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.2869, allocations: 1.638 MB / 495.4 MB, free: 65.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.2885, allocations: 0.6568 MB / 496.1 MB, free: 64.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008658/0.2972, allocations: 6.427 MB / 0.4907 GB, free: 61.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/0.2985, allocations: 1.028 MB / 0.4917 GB, free: 61.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001157/0.2997, allocations: 310.2 kB / 0.492 GB, free: 61.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/0.3009, allocations: 0.7034 MB / 0.4927 GB, free: 61.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.954e-06/0.3009, allocations: 0 / 0.4927 GB, free: 61.11 MB / 410.7 MB Notification: Performance of Templates: time 0.04893/0.3499, allocations: 42.62 MB / 0.5343 GB, free: 25.15 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.42732029221952]