Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.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.001329/0.001329, allocations: 75.69 kB / 21.7 MB, free: 2.836 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.0009052/0.0009052, allocations: 166 kB / 25 MB, free: 8.816 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 0.9203/0.9203, allocations: 177 MB / 205.2 MB, free: 5.582 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.2219/0.2219, allocations: 34.87 MB / 296.6 MB, free: 0.5625 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_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=21000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=21000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 378.9 MB, free: 2.297 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.406e-05, allocations: 2.312 kB / 378.9 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.03655/0.03657, allocations: 38.85 MB / 417.7 MB, free: 11.27 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01599/0.05256, allocations: 10.39 MB / 428.1 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003776/0.05634, allocations: 338.2 kB / 428.5 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01058/0.06691, allocations: 10.85 MB / 439.3 MB, free: 5.625 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007299/0.07421, allocations: 4.617 MB / 443.9 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.132/0.2062, allocations: 2.451 MB / 446.4 MB, free: 48.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01348/0.2197, allocations: 19.32 MB / 465.7 MB, free: 44.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02055/0.2402, allocations: 21.93 MB / 487.6 MB, free: 33.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01132/0.2516, allocations: 14.35 MB / 0.4902 GB, free: 26.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009882/0.2614, allocations: 9.963 MB / 0.4999 GB, free: 23.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004509/0.266, allocations: 2.667 MB / 0.5025 GB, free: 23.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004336/0.2703, allocations: 3.053 MB / 0.5055 GB, free: 23.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002424/0.2727, allocations: 5.623 MB / 0.511 GB, free: 19.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006195/0.2789, allocations: 6.914 MB / 0.5178 GB, free: 13.74 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01117/0.2901, allocations: 17.05 MB / 0.5344 GB, free: 216 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2901, allocations: 0 / 0.5344 GB, free: 216 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2901, allocations: 0 / 0.5344 GB, free: 216 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002733/0.2904, allocations: 0 / 0.5344 GB, free: 216 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4252 * Number of variables: 4252 Notification: Performance of Generate backend data structure: time 0.0284/0.3188, allocations: 22.09 MB / 0.556 GB, free: 11.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3188, allocations: 11.59 kB / 0.556 GB, free: 11.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03302/0.3518, allocations: 13.2 MB / 0.5689 GB, free: 14.56 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01466/0.3665, allocations: 10.99 MB / 0.5796 GB, free: 3.945 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006426/0.3671, allocations: 1.156 MB / 0.5807 GB, free: 2.805 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002176/0.3693, allocations: 1.519 MB / 0.5822 GB, free: 1.301 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02283/0.3921, allocations: 13.59 MB / 0.5955 GB, free: 3.539 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002592/0.3924, allocations: 27.55 kB / 0.5955 GB, free: 3.516 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001077/0.3935, allocations: 0.6251 MB / 0.5961 GB, free: 2.906 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006076/0.3941, allocations: 0.8715 MB / 0.597 GB, free: 2.031 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01568/0.4098, allocations: 7.672 MB / 0.6045 GB, free: 10.36 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.298/0.7078, allocations: 63.4 MB / 0.6664 GB, free: 115 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01323/0.721, allocations: 13.08 MB / 0.6792 GB, free: 111.4 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00405/0.725, allocations: 3.306 MB / 0.6824 GB, free: 110.7 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01316/0.7382, allocations: 10.91 MB / 0.6931 GB, free: 105.2 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0031/0.7413, allocations: 3.196 MB / 0.6962 GB, free: 103.9 MB / 490.8 MB Notification: Performance of pre-optimization done (n=718): time 9.147e-06/0.7413, allocations: 0 / 0.6962 GB, free: 103.9 MB / 490.8 MB Notification: Performance of matching and sorting (n=726): time 0.06628/0.8076, allocations: 28.1 MB / 0.7236 GB, free: 82.89 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.8077, allocations: 471.8 kB / 0.7241 GB, free: 82.33 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005581/0.8133, allocations: 5.46 MB / 0.7294 GB, free: 76.96 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000282/0.8136, allocations: 153.7 kB / 0.7296 GB, free: 76.8 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002775/0.8163, allocations: 6.985 MB / 0.7364 GB, free: 70.61 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009706/0.8173, allocations: 2.6 MB / 0.7389 GB, free: 68.05 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0018/0.8191, allocations: 1.979 MB / 0.7408 GB, free: 66.05 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.08e-05/0.8191, allocations: 480.7 kB / 0.7413 GB, free: 65.58 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/0.8213, allocations: 1.47 MB / 0.7427 GB, free: 64.1 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003261/0.8246, allocations: 6.201 MB / 0.7488 GB, free: 56.02 MB / 490.8 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.006466/0.8311, allocations: 8.455 MB / 0.7571 GB, free: 45.77 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-05/0.8311, allocations: 24 kB / 0.7571 GB, free: 45.75 MB / 490.8 MB Warning: The linear system: 1 : imc.is[1] + imc.is[2] + imc.is[3] = 0.0 2 : 0.0 = imc.is[1] + imc.is[2] + imc.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ imc.is[3] ; imc.is[2] ] = [ -imc.is[1] ; imc.is[1] ] might be structurally or numerically singular for variable imc.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=1173) (initialization): time 0.01038/0.8415, allocations: 8.733 MB / 0.7656 GB, free: 36.89 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.829e-05/0.8415, allocations: 44 kB / 0.7656 GB, free: 36.85 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.681e-05/0.8416, allocations: 88 kB / 0.7657 GB, free: 36.77 MB / 490.8 MB Notification: Tearing is skipped for linear strong component 7: solving it torn to 24 iteration variables is estimated at 39968 flops against 16739 for the untorn system of size 132. Notification: Performance of postOpt tearingSystem (initialization): time 0.004135/0.8457, allocations: 2.167 MB / 0.7678 GB, free: 34.59 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003408/0.8491, allocations: 1.86 MB / 0.7697 GB, free: 32.72 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005063/0.8542, allocations: 14.08 MB / 0.7834 GB, free: 17.93 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/0.857, allocations: 0.5465 MB / 0.7839 GB, free: 17.38 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004114/0.8574, allocations: 423.9 kB / 0.7843 GB, free: 16.97 MB / 490.8 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: imc.is[2] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 409 * Number of states: 0 () * Number of discrete variables: 48 (booleanStepYDQS[3].y,booleanStepYDQS[2].y,booleanStepYDQS[1].y,switchYDQS.logicalDelay[3].tSwitch,$PRE.switchYDQS.logicalDelay[3].tSwitch,switchYDQS.logicalDelay[3].y2,switchYDQS.logicalDelay[3].y1,switchYDQS.logicalDelay[2].tSwitch,$PRE.switchYDQS.logicalDelay[2].tSwitch,switchYDQS.logicalDelay[2].y2,switchYDQS.logicalDelay[2].y1,switchYDQS.logicalDelay[1].tSwitch,$PRE.switchYDQS.logicalDelay[1].tSwitch,switchYDQS.logicalDelay[1].y2,switchYDQS.logicalDelay[1].y1,booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$PRE.switchYD.logicalDelay[3].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[1].tSwitch,booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[1].tSwitch,switchYD.idealOpener.control[3],switchYD.idealOpener.control[2],switchYD.idealOpener.control[1],switchYD.idealCloser.control[3],switchYD.idealCloser.control[2],switchYD.idealCloser.control[1],idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (984): * Single equations (assignments): 976 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(132,2.1%), (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): 6 systems {(1,1,100.0%), (1,8,100.0%), (9,25,33.3%), (1,1,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002463/0.8599, allocations: 0.7683 MB / 0.7851 GB, free: 16.18 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008741/0.8608, allocations: 0.933 MB / 0.786 GB, free: 15.25 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00881/0.8696, allocations: 7.146 MB / 0.793 GB, free: 7.969 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.903e-05/0.8696, allocations: 39.84 kB / 0.793 GB, free: 7.93 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.8696, allocations: 0 / 0.793 GB, free: 7.93 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/0.8712, allocations: 1.595 MB / 0.7946 GB, free: 6.328 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005747/0.8718, allocations: 136 kB / 0.7947 GB, free: 6.195 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/0.8734, allocations: 403.5 kB / 0.7951 GB, free: 5.801 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006823/0.8741, allocations: 0.7236 MB / 0.7958 GB, free: 5.074 MB / 490.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2679/1.142, allocations: 5.831 MB / 0.8015 GB, free: 123.3 MB / 490.9 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009518/1.152, allocations: 6.616 MB / 0.808 GB, free: 122.5 MB / 490.9 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002219/1.154, allocations: 1.582 MB / 0.8095 GB, free: 122.4 MB / 490.9 MB Notification: Performance of sorting global known variables: time 0.003038/1.157, allocations: 2.59 MB / 0.812 GB, free: 122.2 MB / 490.9 MB Notification: Performance of Backend: time 3.71e-07/1.157, allocations: 0 / 0.812 GB, free: 122.2 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.008548/1.165, allocations: 6.34 MB / 0.8182 GB, free: 120.6 MB / 490.9 MB Notification: Performance of SimCode: time 0.02933/1.195, allocations: 25.51 MB / 0.8431 GB, free: 110.8 MB / 490.9 MB Notification: Performance of Templates: time 0.1338/1.329, allocations: 135.9 MB / 0.9758 GB, free: 15.3 MB / 0.495 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 6.373318002093583]