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.0009353/0.0009353, allocations: 121.6 kB / 21.19 MB, free: 4.797 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.001399/0.001399, allocations: 217.3 kB / 24.48 MB, free: 1.512 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.009/1.009, allocations: 230.5 MB / 258.2 MB, free: 9.523 MB / 202.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.16/0.16, allocations: 47.7 MB / 362.4 MB, free: 2.375 MB / 282.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=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.001728/0.001728, allocations: 95.84 kB / 0.4978 GB, free: 7.727 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1172, allocations: 66.22 MB / 0.5624 GB, free: 5.367 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2646/0.3819, allocations: 28.86 MB / 0.5906 GB, free: 13.95 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02171/0.4036, allocations: 8.967 MB / 0.5994 GB, free: 7.645 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008197/0.4118, allocations: 293.7 kB / 0.5997 GB, free: 7.543 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01391/0.4257, allocations: 7.51 MB / 0.607 GB, free: 3.363 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01149/0.4372, allocations: 3.739 MB / 0.6106 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004353/0.4415, allocations: 2.143 MB / 0.6127 GB, free: 15.07 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01449/0.456, allocations: 13.25 MB / 0.6257 GB, free: 6.934 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01917/0.4752, allocations: 14.75 MB / 0.6401 GB, free: 9.309 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009693/0.4849, allocations: 6.736 MB / 0.6467 GB, free: 2.555 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01096/0.4958, allocations: 7.112 MB / 0.6536 GB, free: 11.41 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00368/0.4995, allocations: 1.883 MB / 0.6554 GB, free: 9.531 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007379/0.5069, allocations: 2.246 MB / 0.6576 GB, free: 7.289 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0056/0.5125, allocations: 3.756 MB / 0.6613 GB, free: 3.523 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01182/0.5243, allocations: 5.537 MB / 0.6667 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0304/0.5547, allocations: 25.2 MB / 0.6913 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.5547, allocations: 0 / 0.6913 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5547, allocations: 4 kB / 0.6913 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004651/0.5552, allocations: 4 kB / 0.6913 GB, free: 4.676 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.03042/0.5856, allocations: 14.8 MB / 0.7058 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.5856, allocations: 8.031 kB / 0.7058 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01873/0.6044, allocations: 6.802 MB / 0.7124 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01295/0.6173, allocations: 8.16 MB / 0.7204 GB, free: 6.688 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005373/0.6179, allocations: 0.7907 MB / 0.7212 GB, free: 5.895 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002025/0.6199, allocations: 1.047 MB / 0.7222 GB, free: 4.848 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02308/0.643, allocations: 17.57 MB / 0.7394 GB, free: 3.129 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001901/0.6432, allocations: 15.91 kB / 0.7394 GB, free: 3.113 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009443/0.6441, allocations: 443.9 kB / 0.7398 GB, free: 2.68 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004082/0.6445, allocations: 0.6313 MB / 0.7404 GB, free: 2.043 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02038/0.6649, allocations: 16.28 MB / 0.7563 GB, free: 1.734 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06549/0.7304, allocations: 47.68 MB / 0.8029 GB, free: 0.9648 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5252/1.256, allocations: 11 MB / 0.8136 GB, free: 175.6 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00669/1.262, allocations: 3.954 MB / 0.8175 GB, free: 174.1 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01645/1.279, allocations: 9.276 MB / 0.8265 GB, free: 170 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.354e-05/1.279, allocations: 77.66 kB / 0.8266 GB, free: 169.9 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=398): time 7.554e-06/1.279, allocations: 1.094 kB / 0.8266 GB, free: 169.9 MB / 0.6199 GB Notification: Performance of matching and sorting (n=423): time 0.04245/1.321, allocations: 20.94 MB / 0.8471 GB, free: 161.4 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/1.321, allocations: 126.5 kB / 0.8472 GB, free: 161.3 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006321/1.328, allocations: 4.4 MB / 0.8515 GB, free: 159.7 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0008112/1.328, allocations: 93.33 kB / 0.8516 GB, free: 159.6 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.002227/1.331, allocations: 4.851 MB / 0.8563 GB, free: 156.4 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.001612/1.332, allocations: 1.51 MB / 0.8578 GB, free: 155.2 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00156/1.334, allocations: 1.15 MB / 0.8589 GB, free: 154.7 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 3.448e-05/1.334, allocations: 305.1 kB / 0.8592 GB, free: 154.4 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002999/1.337, allocations: 2.92 MB / 0.862 GB, free: 153.2 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003542/1.34, allocations: 5.006 MB / 0.8669 GB, free: 149.5 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007532/1.348, allocations: 8.351 MB / 0.8751 GB, free: 142.8 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.416e-05/1.348, allocations: 20 kB / 0.8751 GB, free: 142.8 MB / 0.6199 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01257/1.361, allocations: 9.702 MB / 0.8846 GB, free: 133.8 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/1.361, allocations: 35.94 kB / 0.8846 GB, free: 133.8 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-05/1.361, allocations: 68 kB / 0.8847 GB, free: 133.7 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003097/1.364, allocations: 1.644 MB / 0.8863 GB, free: 132.1 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004423/1.368, allocations: 1.322 MB / 0.8876 GB, free: 130.8 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/1.382, allocations: 16.97 MB / 0.9041 GB, free: 113.4 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00417/1.386, allocations: 327.7 kB / 0.9045 GB, free: 113.1 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/1.387, allocations: 288 kB / 0.9047 GB, free: 112.8 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.00601/1.393, allocations: 3.888 MB / 0.9085 GB, free: 108.9 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/1.394, allocations: 488.9 kB / 0.909 GB, free: 108.4 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008529/1.403, allocations: 7.572 MB / 0.9164 GB, free: 100.8 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.767e-05/1.403, allocations: 44 kB / 0.9164 GB, free: 100.7 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.472e-05/1.403, allocations: 16 kB / 0.9164 GB, free: 100.7 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.925e-05/1.403, allocations: 19.92 kB / 0.9165 GB, free: 100.7 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0223/1.425, allocations: 14.86 MB / 0.931 GB, free: 85.73 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/1.425, allocations: 4 kB / 0.931 GB, free: 85.72 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/1.427, allocations: 0.7334 MB / 0.9317 GB, free: 84.99 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002617/1.43, allocations: 1.542 MB / 0.9332 GB, free: 83.43 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004942/1.43, allocations: 112 kB / 0.9333 GB, free: 83.32 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/1.443, allocations: 20.05 MB / 0.9529 GB, free: 62.57 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.443, allocations: 11.94 kB / 0.9529 GB, free: 62.56 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/1.455, allocations: 11.27 MB / 0.9639 GB, free: 51.14 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002697/1.457, allocations: 1.074 MB / 0.965 GB, free: 50.06 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001033/1.458, allocations: 84 kB / 0.965 GB, free: 49.98 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/1.461, allocations: 235.7 kB / 0.9653 GB, free: 49.75 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000624/1.461, allocations: 343.2 kB / 0.9656 GB, free: 49.41 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002072/1.461, allocations: 143.3 kB / 0.9657 GB, free: 49.27 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.003441/1.465, allocations: 2.88 MB / 0.9685 GB, free: 46.39 MB / 0.6199 GB Notification: Performance of sort global known variables: time 3.41e-07/1.465, allocations: 0 / 0.9685 GB, free: 46.39 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.006897/1.472, allocations: 1.855 MB / 0.9704 GB, free: 44.53 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.0008204/1.473, allocations: 283.4 kB / 0.9706 GB, free: 44.25 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.009205/1.482, allocations: 7.84 MB / 0.9783 GB, free: 36.36 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/1.482, allocations: 0 / 0.9783 GB, free: 36.36 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.005107/1.487, allocations: 4.393 MB / 0.9826 GB, free: 31.88 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004722/1.492, allocations: 1.119 MB / 0.9837 GB, free: 30.79 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02926/1.521, allocations: 19.16 MB / 1.002 GB, free: 11.5 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007683/1.529, allocations: 6.149 MB / 1.008 GB, free: 5.305 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001683/1.53, allocations: 443.3 kB / 1.009 GB, free: 4.871 MB / 0.6199 GB Notification: Performance of SimCode: time 1.824e-06/1.53, allocations: 0 / 1.009 GB, free: 4.871 MB / 0.6199 GB Notification: Performance of Templates: time 0.8973/2.428, allocations: 465.5 MB / 1.463 GB, free: 114.5 MB / 0.6824 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: 13.908561219926924]