Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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.0009459/0.0009459, allocations: 116.3 kB / 21.19 MB, free: 4.344 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.001195/0.001195, allocations: 213.3 kB / 24.48 MB, free: 1.359 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.033/1.033, allocations: 230.6 MB / 258.2 MB, free: 3.094 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.1902/0.1902, allocations: 47.72 MB / 362.4 MB, free: 15.43 MB / 298.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.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20499,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20499,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.005301/0.005301, allocations: 99.84 kB / 0.4977 GB, free: 3.273 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3544, allocations: 66.22 MB / 0.5624 GB, free: 13.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.009858/0.3642, allocations: 11.41 MB / 0.5736 GB, free: 2.219 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007347/0.3716, allocations: 4.062 MB / 0.5775 GB, free: 14.14 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.3738, allocations: 107.3 kB / 0.5776 GB, free: 14.04 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.3759, allocations: 0.951 MB / 0.5786 GB, free: 13.08 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003361/0.3793, allocations: 1.266 MB / 0.5798 GB, free: 11.81 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.3804, allocations: 0.5266 MB / 0.5803 GB, free: 11.28 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004791/0.3852, allocations: 4.703 MB / 0.5849 GB, free: 6.559 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00239/0.3876, allocations: 2.011 MB / 0.5869 GB, free: 4.484 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003522/0.3911, allocations: 2.206 MB / 0.589 GB, free: 2.281 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004088/0.3952, allocations: 2.553 MB / 0.5915 GB, free: 15.72 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001346/0.3966, allocations: 0.5508 MB / 0.5921 GB, free: 15.17 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.3981, allocations: 0.6522 MB / 0.5927 GB, free: 14.52 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001213/0.3993, allocations: 1.55 MB / 0.5942 GB, free: 12.96 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003071/0.4024, allocations: 2.015 MB / 0.5962 GB, free: 10.94 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007212/0.4096, allocations: 7.541 MB / 0.6035 GB, free: 3.371 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.4096, allocations: 0 / 0.6035 GB, free: 3.371 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.4096, allocations: 4 kB / 0.6035 GB, free: 3.367 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002708/0.4099, allocations: 0 / 0.6035 GB, free: 3.367 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01069/0.4206, allocations: 4.763 MB / 0.6082 GB, free: 14.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/0.4207, allocations: 8.031 kB / 0.6082 GB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.4225, allocations: 0.5487 MB / 0.6087 GB, free: 13.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004774/0.4273, allocations: 2.56 MB / 0.6112 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/0.4275, allocations: 267.4 kB / 0.6115 GB, free: 11.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000612/0.4281, allocations: 359.9 kB / 0.6118 GB, free: 10.74 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007912/0.436, allocations: 5.307 MB / 0.617 GB, free: 5.309 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.482e-05/0.4361, allocations: 7.953 kB / 0.617 GB, free: 5.301 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003273/0.4364, allocations: 148 kB / 0.6172 GB, free: 5.156 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001711/0.4366, allocations: 191.1 kB / 0.6173 GB, free: 4.969 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006425/0.443, allocations: 4.31 MB / 0.6216 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02061/0.4636, allocations: 12.88 MB / 0.6341 GB, free: 3.453 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003399/0.467, allocations: 2.684 MB / 0.6368 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002306/0.4693, allocations: 1.885 MB / 0.6386 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002229/0.4696, allocations: 53.97 kB / 0.6387 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.4696, allocations: 56.56 kB / 0.6387 GB, free: 14.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=198): time 4.439e-06/0.4696, allocations: 0 / 0.6387 GB, free: 14.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=218): time 0.01432/0.4839, allocations: 9.601 MB / 0.6481 GB, free: 5.188 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.484, allocations: 73.41 kB / 0.6482 GB, free: 5.102 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003328/0.4873, allocations: 2.203 MB / 0.6503 GB, free: 2.863 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00021/0.4875, allocations: 61.7 kB / 0.6504 GB, free: 2.797 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.4885, allocations: 1.691 MB / 0.652 GB, free: 1.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008518/0.4894, allocations: 0.763 MB / 0.6528 GB, free: 328 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005653/0.4899, allocations: 416.6 kB / 0.6532 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.49, allocations: 305.1 kB / 0.6534 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/0.4917, allocations: 1.301 MB / 0.6547 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.4933, allocations: 1.778 MB / 0.6565 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003428/0.4967, allocations: 3.208 MB / 0.6596 GB, free: 8.945 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-05/0.4968, allocations: 7.938 kB / 0.6596 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of matching and sorting (n=295) (initialization): time 0.005057/0.5018, allocations: 4.041 MB / 0.6635 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.5018, allocations: 10.34 kB / 0.6635 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.5019, allocations: 16.47 kB / 0.6636 GB, free: 4.848 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001684/0.5036, allocations: 0.8794 MB / 0.6644 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.5048, allocations: 0.5227 MB / 0.6649 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007474/0.5122, allocations: 8.997 MB / 0.6737 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/0.514, allocations: 119.8 kB / 0.6738 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/0.5142, allocations: 95.92 kB / 0.6739 GB, free: 9.922 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[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 (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(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): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002308/0.5165, allocations: 1.212 MB / 0.6751 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006173/0.5171, allocations: 262.4 kB / 0.6754 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004424/0.5216, allocations: 3.677 MB / 0.679 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.5216, allocations: 24 kB / 0.679 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/0.5216, allocations: 8 kB / 0.679 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.5216, allocations: 11.95 kB / 0.679 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/0.5319, allocations: 7.109 MB / 0.6859 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.5319, allocations: 3.984 kB / 0.6859 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009493/0.5329, allocations: 391.8 kB / 0.6863 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001779/0.5346, allocations: 0.9218 MB / 0.6872 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001583/0.5348, allocations: 63.91 kB / 0.6873 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008235/0.543, allocations: 10.49 MB / 0.6975 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.543, allocations: 4 kB / 0.6975 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.296/0.8391, allocations: 5.479 MB / 0.7029 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002114/0.8412, allocations: 0.5407 MB / 0.7034 GB, free: 119 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000649/0.8418, allocations: 51.22 kB / 0.7034 GB, free: 119 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.843, allocations: 114.6 kB / 0.7036 GB, free: 119 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005854/0.8436, allocations: 190.6 kB / 0.7037 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/0.8437, allocations: 57.47 kB / 0.7038 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002559/0.8463, allocations: 1.497 MB / 0.7053 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/0.8463, allocations: 0 / 0.7053 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002885/0.8492, allocations: 0.7966 MB / 0.706 GB, free: 118.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(3,25,88.9%), (2,12,100.0%), (1,1,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.0007794/0.8499, allocations: 237.5 kB / 0.7063 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004787/0.8547, allocations: 3.618 MB / 0.7098 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.8547, allocations: 7.75 kB / 0.7098 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002277/0.857, allocations: 2.319 MB / 0.7121 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/0.8594, allocations: 0.6296 MB / 0.7127 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.8696, allocations: 7.87 MB / 0.7204 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001726/0.8714, allocations: 2.195 MB / 0.7225 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008465/0.8722, allocations: 185 kB / 0.7227 GB, free: 108 MB / 0.5261 GB Notification: Performance of SimCode: time 1.884e-06/0.8722, allocations: 0 / 0.7227 GB, free: 108 MB / 0.5261 GB Notification: Performance of Templates: time 0.09829/0.9705, allocations: 141.8 MB / 0.8612 GB, free: 14.57 MB / 0.573 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.815242910990492]