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.001031/0.001031, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001157/0.001157, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.005/1.005, allocations: 177 MB / 204.8 MB, free: 5.586 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.2656/0.2656, allocations: 34.86 MB / 296.3 MB, free: 0.543 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.493e-06/1.493e-06, allocations: 0 / 378.9 MB, free: 1.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.747e-05, allocations: 3.578 kB / 378.9 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02458/0.0246, allocations: 33.22 MB / 412.1 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01867/0.04327, allocations: 9.188 MB / 421.3 MB, free: 7.391 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004915/0.04818, allocations: 290.4 kB / 421.6 MB, free: 7.105 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01241/0.06059, allocations: 8.52 MB / 430.1 MB, free: 14.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008953/0.06954, allocations: 3.856 MB / 434 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003846/0.07339, allocations: 2.157 MB / 436.1 MB, free: 8.512 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1828/0.2562, allocations: 13.75 MB / 449.9 MB, free: 49.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01543/0.2716, allocations: 14.8 MB / 464.7 MB, free: 47.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008684/0.2803, allocations: 9.95 MB / 474.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006581/0.2869, allocations: 6.905 MB / 481.5 MB, free: 40.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002416/0.2893, allocations: 1.878 MB / 483.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003127/0.2924, allocations: 2.269 MB / 485.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001775/0.2942, allocations: 3.9 MB / 489.6 MB, free: 38.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003182/0.2974, allocations: 4.849 MB / 494.4 MB, free: 35.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0084/0.3058, allocations: 11.85 MB / 0.4944 GB, free: 30.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3058, allocations: 0 / 0.4944 GB, free: 30.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3058, allocations: 0 / 0.4944 GB, free: 30.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001969/0.306, allocations: 3.938 kB / 0.4944 GB, free: 30.31 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.02213/0.3281, allocations: 15.56 MB / 0.5096 GB, free: 22.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3281, allocations: 13.25 kB / 0.5096 GB, free: 22.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01941/0.3475, allocations: 8.608 MB / 0.518 GB, free: 18.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00918/0.3567, allocations: 7.821 MB / 0.5257 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000271/0.357, allocations: 0.7961 MB / 0.5264 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/0.358, allocations: 1.05 MB / 0.5275 GB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01307/0.3711, allocations: 9.31 MB / 0.5366 GB, free: 1.168 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/0.3712, allocations: 15.89 kB / 0.5366 GB, free: 1.152 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007148/0.372, allocations: 444.6 kB / 0.537 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003162/0.3723, allocations: 0.6275 MB / 0.5376 GB, free: 100 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.3823, allocations: 5.225 MB / 0.5427 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04763/0.4299, allocations: 43.41 MB / 0.5851 GB, free: 15.42 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01405/0.444, allocations: 9.226 MB / 0.5941 GB, free: 7.34 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003339/0.4473, allocations: 1.961 MB / 0.596 GB, free: 5.387 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01195/0.4593, allocations: 6.842 MB / 0.6027 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.114e-05/0.4593, allocations: 84.02 kB / 0.6028 GB, free: 14.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=398): time 7.163e-06/0.4594, allocations: 0 / 0.6028 GB, free: 14.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=423): time 0.02752/0.4869, allocations: 13.69 MB / 0.6162 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.4869, allocations: 124.7 kB / 0.6163 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2041/0.6911, allocations: 3.842 MB / 0.62 GB, free: 107.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008165/0.6919, allocations: 98.64 kB / 0.6201 GB, free: 107.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001938/0.6938, allocations: 5.063 MB / 0.6251 GB, free: 105.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008324/0.6947, allocations: 1.541 MB / 0.6266 GB, free: 104.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/0.6959, allocations: 1.249 MB / 0.6278 GB, free: 104.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.81e-05/0.6959, allocations: 482.2 kB / 0.6283 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.6976, allocations: 0.9459 MB / 0.6292 GB, free: 104.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002551/0.7002, allocations: 4.008 MB / 0.6331 GB, free: 100.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00475/0.7049, allocations: 5.455 MB / 0.6384 GB, free: 97.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.335e-05/0.705, allocations: 18.75 kB / 0.6384 GB, free: 97.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.00862/0.7136, allocations: 5.787 MB / 0.6441 GB, free: 96.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/0.7136, allocations: 34.44 kB / 0.6441 GB, free: 96.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.249e-05/0.7137, allocations: 71.75 kB / 0.6442 GB, free: 96.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003091/0.7168, allocations: 1.52 MB / 0.6457 GB, free: 96.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002508/0.7193, allocations: 1.319 MB / 0.647 GB, free: 96.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.7307, allocations: 13.39 MB / 0.66 GB, free: 88.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003628/0.7343, allocations: 319.2 kB / 0.6603 GB, free: 88.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000454/0.7348, allocations: 287 kB / 0.6606 GB, free: 88.72 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.002528/0.7373, allocations: 0.5359 MB / 0.6611 GB, free: 88.51 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008633/0.7382, allocations: 0.6103 MB / 0.6617 GB, free: 88.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007039/0.7452, allocations: 4.316 MB / 0.666 GB, free: 87.83 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.181e-05/0.7452, allocations: 43.25 kB / 0.666 GB, free: 87.83 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.522e-05/0.7453, allocations: 15.88 kB / 0.666 GB, free: 87.83 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.426e-05/0.7453, allocations: 28.47 kB / 0.666 GB, free: 87.83 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01754/0.7628, allocations: 12.06 MB / 0.6778 GB, free: 85.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.7628, allocations: 3.688 kB / 0.6778 GB, free: 85.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/0.7645, allocations: 0.7372 MB / 0.6785 GB, free: 85.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00289/0.7674, allocations: 1.414 MB / 0.6799 GB, free: 85.56 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002359/0.7676, allocations: 103.7 kB / 0.68 GB, free: 85.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/0.7785, allocations: 18.72 MB / 0.6983 GB, free: 69.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.7785, allocations: 8.875 kB / 0.6983 GB, free: 69.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008317/0.7868, allocations: 5.61 MB / 0.7038 GB, free: 67.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001724/0.7886, allocations: 0.996 MB / 0.7048 GB, free: 66.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004027/0.789, allocations: 92.78 kB / 0.7048 GB, free: 66.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.7902, allocations: 223.4 kB / 0.7051 GB, free: 66.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005324/0.7907, allocations: 361.3 kB / 0.7054 GB, free: 66.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001963/0.7909, allocations: 129.2 kB / 0.7055 GB, free: 66.65 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002403/0.7933, allocations: 1.906 MB / 0.7074 GB, free: 66.03 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7933, allocations: 0 / 0.7074 GB, free: 66.03 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004729/0.798, allocations: 1.861 MB / 0.7092 GB, free: 65.86 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.0004623/0.7985, allocations: 276.3 kB / 0.7095 GB, free: 65.69 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006481/0.805, allocations: 5.048 MB / 0.7144 GB, free: 63.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.805, allocations: 4 kB / 0.7144 GB, free: 63.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003271/0.8083, allocations: 3.49 MB / 0.7178 GB, free: 60.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/0.811, allocations: 1.155 MB / 0.7189 GB, free: 59.85 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01967/0.8307, allocations: 16.36 MB / 0.7349 GB, free: 44.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001987/0.8327, allocations: 2.862 MB / 0.7377 GB, free: 42.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002739/0.8354, allocations: 1.547 MB / 0.7392 GB, free: 41.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00072/0.8361, allocations: 374.5 kB / 0.7396 GB, free: 41.21 MB / 490.7 MB Notification: Performance of SimCode: time 1.843e-06/0.8361, allocations: 0 / 0.7396 GB, free: 41.21 MB / 490.7 MB Notification: Performance of Templates: time 0.2505/1.087, allocations: 73.91 MB / 0.8117 GB, free: 119.8 MB / 0.4948 GB " [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.81777965510264]