Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.002669/0.002669, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.002817/0.002817, allocations: 164.8 kB / 23.95 MB, free: 0.6055 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.586/1.586, allocations: 177 MB / 204.1 MB, free: 5.785 MB / 186.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.4121/0.4121, allocations: 34.86 MB / 295.4 MB, free: 0.5469 MB / 266.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 443.6 MB, free: 456 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.516e-05, allocations: 6.219 kB / 443.6 MB, free: 448 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.1934/0.1934, allocations: 21.06 MB / 464.7 MB, free: 30.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01223/0.2056, allocations: 6.94 MB / 471.6 MB, free: 25.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004312/0.2099, allocations: 208 kB / 471.8 MB, free: 25.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004661/0.2146, allocations: 1.687 MB / 473.5 MB, free: 24.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007121/0.2217, allocations: 2.534 MB / 476 MB, free: 22.85 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003736/0.2254, allocations: 1.46 MB / 477.5 MB, free: 21.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.009303/0.2348, allocations: 9.318 MB / 486.8 MB, free: 17.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005485/0.2402, allocations: 3.866 MB / 490.7 MB, free: 15.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01049/0.2507, allocations: 6.143 MB / 496.8 MB, free: 12.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00874/0.2595, allocations: 4.13 MB / 0.4892 GB, free: 10.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003821/0.2633, allocations: 1.095 MB / 0.4903 GB, free: 10.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006106/0.2694, allocations: 1.378 MB / 0.4916 GB, free: 10.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00456/0.274, allocations: 2.801 MB / 0.4944 GB, free: 8.758 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009081/0.283, allocations: 3.208 MB / 0.4975 GB, free: 7.141 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02026/0.3033, allocations: 14.7 MB / 0.5118 GB, free: 14.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3033, allocations: 1.375 kB / 0.5118 GB, free: 14.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3033, allocations: 0 / 0.5118 GB, free: 14.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000517/0.3038, allocations: 4 kB / 0.5118 GB, free: 14.61 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.02853/0.3324, allocations: 8.979 MB / 0.5206 GB, free: 5.715 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3324, allocations: 8.031 kB / 0.5206 GB, free: 5.707 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006602/0.339, allocations: 1.358 MB / 0.5219 GB, free: 4.344 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01252/0.3515, allocations: 5.026 MB / 0.5269 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005553/0.3521, allocations: 0.498 MB / 0.5273 GB, free: 14.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001846/0.3539, allocations: 0.6604 MB / 0.528 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02926/0.3832, allocations: 9.979 MB / 0.5377 GB, free: 3.875 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002355/0.3834, allocations: 19.94 kB / 0.5378 GB, free: 3.855 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001477/0.3849, allocations: 280 kB / 0.538 GB, free: 3.582 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005051/0.3854, allocations: 293.4 kB / 0.5383 GB, free: 3.293 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03477/0.4202, allocations: 8.192 MB / 0.5463 GB, free: 11.09 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06325/0.4834, allocations: 25.44 MB / 0.5711 GB, free: 1.039 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/0.4944, allocations: 5.684 MB / 0.5767 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006302/0.5007, allocations: 3.145 MB / 0.5798 GB, free: 8.578 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01351/0.5142, allocations: 5.848 MB / 0.5855 GB, free: 2.699 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.377e-05/0.5143, allocations: 64.97 kB / 0.5855 GB, free: 2.625 MB / 490.7 MB Notification: Performance of pre-optimization done (n=305): time 5.28e-06/0.5143, allocations: 4 kB / 0.5855 GB, free: 2.621 MB / 490.7 MB Notification: Performance of matching and sorting (n=324): time 0.03498/0.5493, allocations: 14.48 MB / 0.5997 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.526e-05/0.5493, allocations: 97.89 kB / 0.5998 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006768/0.5561, allocations: 3.708 MB / 0.6034 GB, free: 220 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004988/0.5566, allocations: 85.64 kB / 0.6035 GB, free: 128 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003078/0.5597, allocations: 3.188 MB / 0.6066 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001483/0.5612, allocations: 1.139 MB / 0.6077 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001315/0.5625, allocations: 0.6692 MB / 0.6084 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002841/0.5628, allocations: 309.1 kB / 0.6087 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003526/0.5663, allocations: 1.916 MB / 0.6105 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004786/0.5711, allocations: 2.914 MB / 0.6134 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008164/0.5792, allocations: 4.978 MB / 0.6182 GB, free: 156 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.949e-05/0.5793, allocations: 8 kB / 0.6182 GB, free: 148 kB / 0.5105 GB Notification: Performance of matching and sorting (n=486) (initialization): time 0.01229/0.5916, allocations: 6.333 MB / 0.6244 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.5916, allocations: 21.86 kB / 0.6244 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-05/0.5916, allocations: 31.94 kB / 0.6245 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003493/0.5951, allocations: 1.296 MB / 0.6257 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003348/0.5985, allocations: 0.819 MB / 0.6265 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2182/0.8167, allocations: 21.19 MB / 0.6472 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003196/0.8199, allocations: 202.9 kB / 0.6474 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000286/0.8202, allocations: 153.7 kB / 0.6476 GB, free: 133.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * Number of states: 0 () * Number of discrete variables: 9 (rheostatE.booleanStep[3].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[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 (423): * Single equations (assignments): 409 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (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): 11 systems {(1,1,100.0%), (2,14,100.0%), (1,8,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003406/0.8236, allocations: 2.193 MB / 0.6497 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007622/0.8244, allocations: 429.8 kB / 0.6501 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008069/0.8324, allocations: 5.748 MB / 0.6557 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.8324, allocations: 34.72 kB / 0.6558 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.917e-05/0.8325, allocations: 16.06 kB / 0.6558 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-05/0.8325, allocations: 16.45 kB / 0.6558 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/0.8478, allocations: 10.65 MB / 0.6662 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.8478, allocations: 3 kB / 0.6662 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/0.8497, allocations: 465.8 kB / 0.6667 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003275/0.8529, allocations: 1.639 MB / 0.6683 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002045/0.8531, allocations: 84.94 kB / 0.6683 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02142/0.8746, allocations: 30.85 MB / 0.6985 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.8746, allocations: 7.531 kB / 0.6985 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/0.8872, allocations: 8.399 MB / 0.7067 GB, free: 96.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002234/0.8895, allocations: 0.848 MB / 0.7075 GB, free: 96.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006001/0.8901, allocations: 66.12 kB / 0.7076 GB, free: 96.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/0.8921, allocations: 185.2 kB / 0.7077 GB, free: 96.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00076/0.8928, allocations: 293.1 kB / 0.708 GB, free: 96.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002552/0.8931, allocations: 97.28 kB / 0.7081 GB, free: 96.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004097/0.8972, allocations: 2.479 MB / 0.7105 GB, free: 95.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8972, allocations: 0 / 0.7105 GB, free: 95.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005363/0.9025, allocations: 1.353 MB / 0.7119 GB, free: 95.27 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.inertiaRotor.w,aimsM.stator.zeroInductor.i0,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsE.inertiaRotor.w,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 16 * 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): 16 systems {(2,14,100.0%), (1,1,100.0%), (1,8,100.0%), (2,1,100.0%), (1,1,100.0%), (1,8,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,8,100.0%), (2,12,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000772/0.9033, allocations: 287.3 kB / 0.7121 GB, free: 95.09 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007677/0.911, allocations: 6.005 MB / 0.718 GB, free: 92.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.911, allocations: 7.125 kB / 0.718 GB, free: 92.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005426/0.9164, allocations: 4.579 MB / 0.7225 GB, free: 89.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00515/0.9216, allocations: 1.133 MB / 0.7236 GB, free: 88.34 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01818/0.9397, allocations: 13.1 MB / 0.7364 GB, free: 76.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003724/0.9435, allocations: 4.019 MB / 0.7403 GB, free: 73.38 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00283/0.9463, allocations: 0.9909 MB / 0.7413 GB, free: 72.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006854/0.947, allocations: 264.5 kB / 0.7415 GB, free: 72.14 MB / 0.5261 GB Notification: Performance of SimCode: time 1.012e-06/0.947, allocations: 0 / 0.7415 GB, free: 72.14 MB / 0.5261 GB Notification: Performance of Templates: time 0.1291/1.076, allocations: 66.92 MB / 0.8069 GB, free: 5.906 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.662208118010312]