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.00824/0.00824, allocations: 113.9 kB / 20.44 MB, free: 4.598 MB / 13.93 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.002162/0.002162, allocations: 221.3 kB / 23.73 MB, free: 2.125 MB / 13.93 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.635/1.635, allocations: 230.6 MB / 257.4 MB, free: 9.484 MB / 202.7 MB " [Timeout remaining time 178] 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.2596/0.2596, allocations: 47.7 MB / 361.6 MB, free: 2.363 MB / 282.7 MB " [Timeout remaining time 179] 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=5999,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=5999,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.01281/0.01281, allocations: 95.84 kB / 0.4978 GB, free: 6.922 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1884, allocations: 66.21 MB / 0.5625 GB, free: 4.57 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2654/0.4539, allocations: 28.86 MB / 0.5906 GB, free: 13.88 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02402/0.4779, allocations: 8.964 MB / 0.5994 GB, free: 7.57 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007651/0.4856, allocations: 293.8 kB / 0.5997 GB, free: 7.469 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0222/0.5078, allocations: 7.503 MB / 0.607 GB, free: 3.301 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01527/0.523, allocations: 3.747 MB / 0.6107 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00772/0.5307, allocations: 2.138 MB / 0.6127 GB, free: 14.89 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.02237/0.5531, allocations: 13.25 MB / 0.6257 GB, free: 6.766 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03734/0.5905, allocations: 14.74 MB / 0.6401 GB, free: 8.805 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01582/0.6063, allocations: 6.756 MB / 0.6467 GB, free: 2.031 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02493/0.6312, allocations: 7.104 MB / 0.6536 GB, free: 10.9 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005975/0.6372, allocations: 1.879 MB / 0.6555 GB, free: 9.023 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008455/0.6456, allocations: 2.246 MB / 0.6576 GB, free: 6.777 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006796/0.6524, allocations: 3.764 MB / 0.6613 GB, free: 3.004 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01386/0.6663, allocations: 5.534 MB / 0.6667 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.03983/0.7061, allocations: 25.2 MB / 0.6913 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.7061, allocations: 0 / 0.6913 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7061, allocations: 0 / 0.6913 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0007683/0.7069, allocations: 0 / 0.6913 GB, free: 4.164 MB / 0.5105 GB 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.04926/0.7562, allocations: 14.8 MB / 0.7058 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.7562, allocations: 12.03 kB / 0.7058 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03941/0.7956, allocations: 6.794 MB / 0.7124 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02132/0.8169, allocations: 8.176 MB / 0.7204 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00109/0.818, allocations: 0.7907 MB / 0.7212 GB, free: 5.375 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004767/0.8228, allocations: 1.043 MB / 0.7222 GB, free: 4.332 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05216/0.875, allocations: 17.56 MB / 0.7394 GB, free: 2.621 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006577/0.8756, allocations: 23.83 kB / 0.7394 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004342/0.88, allocations: 444 kB / 0.7398 GB, free: 2.164 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009295/0.8809, allocations: 0.6275 MB / 0.7404 GB, free: 1.531 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04279/0.9237, allocations: 16.27 MB / 0.7563 GB, free: 1.227 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1305/1.054, allocations: 47.68 MB / 0.8029 GB, free: 464 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5291/1.583, allocations: 11 MB / 0.8136 GB, free: 175.6 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006953/1.59, allocations: 3.951 MB / 0.8175 GB, free: 174.1 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01749/1.608, allocations: 9.275 MB / 0.8265 GB, free: 169.9 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.446e-05/1.608, allocations: 81.66 kB / 0.8266 GB, free: 169.8 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=398): time 7.945e-06/1.608, allocations: 0 / 0.8266 GB, free: 169.8 MB / 0.6199 GB Notification: Performance of matching and sorting (n=423): time 0.04624/1.654, allocations: 20.93 MB / 0.8471 GB, free: 161.2 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/1.654, allocations: 123.5 kB / 0.8472 GB, free: 161.1 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005312/1.659, allocations: 4.398 MB / 0.8515 GB, free: 159.5 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0006284/1.66, allocations: 97.48 kB / 0.8516 GB, free: 159.4 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.002015/1.662, allocations: 4.844 MB / 0.8563 GB, free: 156.2 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.001165/1.663, allocations: 1.519 MB / 0.8578 GB, free: 155 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001486/1.665, allocations: 1.151 MB / 0.8589 GB, free: 154.5 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 4.09e-05/1.665, allocations: 305.1 kB / 0.8592 GB, free: 154.2 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003514/1.668, allocations: 2.919 MB / 0.8621 GB, free: 153 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004147/1.672, allocations: 5.007 MB / 0.8669 GB, free: 149.3 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008459/1.681, allocations: 8.357 MB / 0.8751 GB, free: 142.1 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.64e-05/1.681, allocations: 20 kB / 0.8751 GB, free: 142.1 MB / 0.6199 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.0148/1.696, allocations: 9.692 MB / 0.8846 GB, free: 133.1 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 5.594e-05/1.696, allocations: 35.94 kB / 0.8846 GB, free: 133 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.004e-05/1.696, allocations: 64 kB / 0.8847 GB, free: 133 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004091/1.7, allocations: 1.645 MB / 0.8863 GB, free: 131.3 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005291/1.705, allocations: 1.323 MB / 0.8876 GB, free: 130 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01944/1.725, allocations: 16.98 MB / 0.9042 GB, free: 112.6 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004626/1.729, allocations: 327.7 kB / 0.9045 GB, free: 112.3 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/1.73, allocations: 291.9 kB / 0.9048 GB, free: 112 MB / 0.6199 GB 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.005875/1.736, allocations: 3.892 MB / 0.9086 GB, free: 108.1 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001429/1.738, allocations: 488.9 kB / 0.909 GB, free: 107.6 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/1.751, allocations: 7.56 MB / 0.9164 GB, free: 99.99 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.651e-05/1.751, allocations: 40 kB / 0.9164 GB, free: 99.95 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.596e-05/1.751, allocations: 20 kB / 0.9165 GB, free: 99.93 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.68e-05/1.751, allocations: 19.92 kB / 0.9165 GB, free: 99.91 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0271/1.779, allocations: 14.85 MB / 0.931 GB, free: 84.96 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.187e-05/1.779, allocations: 11.64 kB / 0.931 GB, free: 84.96 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003165/1.782, allocations: 0.738 MB / 0.9317 GB, free: 84.22 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004006/1.786, allocations: 1.539 MB / 0.9332 GB, free: 82.66 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005271/1.786, allocations: 104 kB / 0.9333 GB, free: 82.56 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01999/1.806, allocations: 20.06 MB / 0.9529 GB, free: 61.8 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.806, allocations: 11.94 kB / 0.9529 GB, free: 61.79 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0165/1.823, allocations: 11.28 MB / 0.9639 GB, free: 50.37 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003051/1.826, allocations: 1.078 MB / 0.965 GB, free: 49.29 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001398/1.827, allocations: 88 kB / 0.9651 GB, free: 49.2 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003087/1.83, allocations: 227.7 kB / 0.9653 GB, free: 48.98 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009194/1.831, allocations: 355.1 kB / 0.9656 GB, free: 48.62 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004174/1.832, allocations: 132 kB / 0.9657 GB, free: 48.5 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.004834/1.836, allocations: 2.888 MB / 0.9686 GB, free: 45.6 MB / 0.6199 GB Notification: Performance of sort global known variables: time 1.21e-07/1.836, allocations: 0 / 0.9686 GB, free: 45.6 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.007271/1.844, allocations: 1.855 MB / 0.9704 GB, free: 43.75 MB / 0.6199 GB 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.0008743/1.845, allocations: 271 kB / 0.9706 GB, free: 43.48 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.01264/1.857, allocations: 7.836 MB / 0.9783 GB, free: 35.59 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.46e-05/1.857, allocations: 4.125 kB / 0.9783 GB, free: 35.59 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.006995/1.864, allocations: 4.397 MB / 0.9826 GB, free: 31.1 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006742/1.871, allocations: 1.112 MB / 0.9837 GB, free: 30.02 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03765/1.909, allocations: 19.44 MB / 1.003 GB, free: 10.46 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009101/1.918, allocations: 6.363 MB / 1.009 GB, free: 4.043 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.005007/1.923, allocations: 1.807 MB / 1.011 GB, free: 2.227 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/1.924, allocations: 383.3 kB / 1.011 GB, free: 1.852 MB / 0.6199 GB Notification: Performance of SimCode: time 9.42e-07/1.924, allocations: 0 / 1.011 GB, free: 1.852 MB / 0.6199 GB Notification: Performance of Templates: time 0.4159/2.34, allocations: 85.06 MB / 1.094 GB, free: 193.2 MB / 0.6668 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 -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: 10.271604131907225]