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.0008951/0.0008951, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0008988/0.0008988, allocations: 160.5 kB / 24.55 MB, free: 20 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 0.9422/0.9422, allocations: 177 MB / 204.8 MB, free: 5.574 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.2815/0.2815, allocations: 34.87 MB / 296.3 MB, free: 0.5586 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.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.252e-06/1.252e-06, allocations: 0 / 378.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.865e-05, allocations: 2.312 kB / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.01762/0.01764, allocations: 24.22 MB / 403.1 MB, free: 9.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.02934, allocations: 7.156 MB / 410.2 MB, free: 2.504 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003601/0.03294, allocations: 210.6 kB / 410.4 MB, free: 2.297 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003078/0.03602, allocations: 1.692 MB / 412.1 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00515/0.04117, allocations: 2.562 MB / 414.7 MB, free: 14.02 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.04349, allocations: 1.462 MB / 416.2 MB, free: 12.55 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007611/0.0511, allocations: 9.343 MB / 425.5 MB, free: 3.172 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004227/0.05533, allocations: 3.88 MB / 429.4 MB, free: 15.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006599/0.06193, allocations: 6.449 MB / 435.8 MB, free: 8.738 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004511/0.06644, allocations: 4.443 MB / 440.3 MB, free: 4.285 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001391/0.06783, allocations: 1.078 MB / 441.4 MB, free: 3.207 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.06997, allocations: 1.355 MB / 442.7 MB, free: 1.852 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.165/0.235, allocations: 2.786 MB / 445.5 MB, free: 60.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005724/0.2407, allocations: 3.213 MB / 448.7 MB, free: 60.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006362/0.2471, allocations: 7.591 MB / 456.3 MB, free: 59.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2471, allocations: 0 / 456.3 MB, free: 59.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.2471, allocations: 0 / 456.3 MB, free: 59.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002577/0.2473, allocations: 0 / 456.3 MB, free: 59.68 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: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.009794/0.2571, allocations: 9.378 MB / 465.7 MB, free: 56.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2572, allocations: 9.812 kB / 465.7 MB, free: 56.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003369/0.2605, allocations: 2.084 MB / 467.8 MB, free: 55.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004128/0.2647, allocations: 4.845 MB / 472.6 MB, free: 53.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/0.2649, allocations: 0.4964 MB / 473.1 MB, free: 53.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005608/0.2654, allocations: 0.6719 MB / 473.8 MB, free: 53.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006591/0.272, allocations: 5.739 MB / 479.5 MB, free: 50.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/0.2721, allocations: 11.73 kB / 479.5 MB, free: 50.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003972/0.2725, allocations: 282.5 kB / 479.8 MB, free: 50.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002186/0.2727, allocations: 303.1 kB / 480.1 MB, free: 50.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004886/0.2776, allocations: 2.603 MB / 482.7 MB, free: 50.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02096/0.2986, allocations: 23.55 MB / 0.4944 GB, free: 36.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003926/0.3025, allocations: 4.109 MB / 0.4984 GB, free: 34.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001878/0.3044, allocations: 1.69 MB / 0.5001 GB, free: 34.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004629/0.309, allocations: 4.232 MB / 0.5042 GB, free: 32.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.3091, allocations: 70.22 kB / 0.5043 GB, free: 32.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=305): time 3.717e-06/0.3091, allocations: 0 / 0.5043 GB, free: 32.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=324): time 0.01092/0.32, allocations: 8.303 MB / 0.5124 GB, free: 28.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.32, allocations: 85.08 kB / 0.5124 GB, free: 28.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002363/0.3224, allocations: 3.156 MB / 0.5155 GB, free: 26.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.3225, allocations: 81.7 kB / 0.5156 GB, free: 26.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001041/0.3235, allocations: 3.347 MB / 0.5189 GB, free: 23.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004535/0.324, allocations: 1.175 MB / 0.52 GB, free: 22.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006469/0.3246, allocations: 0.7083 MB / 0.5207 GB, free: 21.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.223e-05/0.3247, allocations: 484.7 kB / 0.5212 GB, free: 20.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008766/0.3256, allocations: 0.5893 MB / 0.5217 GB, free: 20.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.3268, allocations: 1.991 MB / 0.5237 GB, free: 18.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002315/0.3291, allocations: 2.859 MB / 0.5265 GB, free: 14.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.3291, allocations: 8 kB / 0.5265 GB, free: 14.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=486) (initialization): time 0.003953/0.333, allocations: 3.542 MB / 0.5299 GB, free: 11.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.3331, allocations: 16 kB / 0.53 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.3331, allocations: 28 kB / 0.53 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/0.3346, allocations: 0.8297 MB / 0.5308 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.336, allocations: 0.8035 MB / 0.5316 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008633/0.3447, allocations: 22.28 MB / 0.5533 GB, free: 3.137 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.3458, allocations: 179.8 kB / 0.5535 GB, free: 2.961 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/0.346, allocations: 160 kB / 0.5537 GB, free: 2.805 MB / 426.7 MB 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.001032/0.347, allocations: 397.4 kB / 0.554 GB, free: 2.457 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005362/0.3476, allocations: 0.5363 MB / 0.5546 GB, free: 1.918 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00403/0.3516, allocations: 3.086 MB / 0.5576 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.3516, allocations: 35.94 kB / 0.5576 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-05/0.3516, allocations: 16 kB / 0.5576 GB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/0.3517, allocations: 19.94 kB / 0.5577 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009346/0.361, allocations: 7.883 MB / 0.5653 GB, free: 6.762 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.361, allocations: 384 / 0.5653 GB, free: 6.762 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.362, allocations: 447.7 kB / 0.5658 GB, free: 6.344 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002081/0.3641, allocations: 1.096 MB / 0.5668 GB, free: 5.191 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/0.3642, allocations: 71.97 kB / 0.5669 GB, free: 5.121 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01506/0.3793, allocations: 32.99 MB / 0.5991 GB, free: 2.375 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.3793, allocations: 8 kB / 0.5991 GB, free: 2.367 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005363/0.3847, allocations: 4.07 MB / 0.6031 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009518/0.3856, allocations: 0.7875 MB / 0.6039 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000306/0.3859, allocations: 67.98 kB / 0.6039 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008967/0.3868, allocations: 167.9 kB / 0.6041 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004588/0.3873, allocations: 301.2 kB / 0.6044 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/0.3874, allocations: 87.97 kB / 0.6045 GB, free: 12.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001724/0.3891, allocations: 1.724 MB / 0.6062 GB, free: 11.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3891, allocations: 4 kB / 0.6062 GB, free: 11.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002544/0.3917, allocations: 1.344 MB / 0.6075 GB, free: 9.699 MB / 490.7 MB 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%), (1,2,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,8,100.0%), (1,8,100.0%), (1,1,100.0%), (2,12,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.0004229/0.3921, allocations: 280.1 kB / 0.6077 GB, free: 9.441 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004122/0.3962, allocations: 4.397 MB / 0.612 GB, free: 4.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3962, allocations: 0 / 0.612 GB, free: 4.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003112/0.3993, allocations: 4.346 MB / 0.6163 GB, free: 352 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1364/0.5358, allocations: 1.146 MB / 0.6174 GB, free: 131.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/0.5483, allocations: 11.35 MB / 0.6285 GB, free: 127.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.5495, allocations: 1.824 MB / 0.6303 GB, free: 126.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001508/0.551, allocations: 0.8279 MB / 0.6311 GB, free: 126.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004559/0.5515, allocations: 263.2 kB / 0.6313 GB, free: 126.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5515, allocations: 2.906 kB / 0.6313 GB, free: 126.8 MB / 490.7 MB Notification: Performance of Templates: time 0.07281/0.6243, allocations: 69.53 MB / 0.6992 GB, free: 91.2 MB / 490.7 MB " [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: 4.933716596104205]