Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.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.0009513/0.0009513, allocations: 115.7 kB / 21.18 MB, free: 4.316 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.001443/0.001443, allocations: 217.3 kB / 24.48 MB, free: 1.344 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.062/1.062, allocations: 230.6 MB / 258.2 MB, free: 3.105 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.1788/0.1788, allocations: 47.7 MB / 362.4 MB, free: 15.51 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20499,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20499,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 91.84 kB / 0.4977 GB, free: 3.262 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3134, allocations: 66.22 MB / 0.5624 GB, free: 13.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01275/0.3262, allocations: 15.28 MB / 0.5773 GB, free: 14.3 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0109/0.3371, allocations: 5.677 MB / 0.5829 GB, free: 8.609 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003416/0.3405, allocations: 143.1 kB / 0.583 GB, free: 8.469 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003936/0.3444, allocations: 1.351 MB / 0.5843 GB, free: 7.109 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005757/0.3502, allocations: 1.829 MB / 0.5861 GB, free: 5.273 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002628/0.3528, allocations: 1.068 MB / 0.5872 GB, free: 4.203 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.006941/0.3597, allocations: 6.397 MB / 0.5934 GB, free: 13.79 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003451/0.3632, allocations: 2.756 MB / 0.5961 GB, free: 10.95 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004259/0.3675, allocations: 3.048 MB / 0.5991 GB, free: 7.898 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00474/0.3722, allocations: 3.401 MB / 0.6024 GB, free: 4.484 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001549/0.3737, allocations: 0.793 MB / 0.6032 GB, free: 3.691 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002432/0.3762, allocations: 1.066 MB / 0.6042 GB, free: 2.625 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00142/0.3776, allocations: 1.878 MB / 0.6061 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004114/0.3817, allocations: 2.692 MB / 0.6087 GB, free: 14.04 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.3938, allocations: 10.67 MB / 0.6191 GB, free: 3.332 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.3938, allocations: 7.938 kB / 0.6191 GB, free: 3.324 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3938, allocations: 0 / 0.6191 GB, free: 3.324 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004051/0.3942, allocations: 0 / 0.6191 GB, free: 3.324 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.01525/0.4095, allocations: 6.627 MB / 0.6256 GB, free: 12.62 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.4095, allocations: 12.03 kB / 0.6256 GB, free: 12.61 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003476/0.413, allocations: 1.102 MB / 0.6267 GB, free: 11.51 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007213/0.4202, allocations: 3.643 MB / 0.6302 GB, free: 7.797 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002649/0.4205, allocations: 362.1 kB / 0.6306 GB, free: 7.441 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001289/0.4218, allocations: 491.9 kB / 0.631 GB, free: 6.961 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01278/0.4346, allocations: 7.21 MB / 0.6381 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/0.4347, allocations: 11.89 kB / 0.6381 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006782/0.4353, allocations: 204 kB / 0.6383 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000197/0.4355, allocations: 249.8 kB / 0.6385 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/0.4466, allocations: 5.949 MB / 0.6443 GB, free: 9.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03042/0.477, allocations: 17.94 MB / 0.6619 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005648/0.4826, allocations: 4.471 MB / 0.6662 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002713/0.4853, allocations: 2.301 MB / 0.6685 GB, free: 328 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008596/0.4939, allocations: 5.6 MB / 0.6739 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.494, allocations: 56.56 kB / 0.674 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=219): time 4.689e-06/0.494, allocations: 0 / 0.674 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=226): time 0.01316/0.5071, allocations: 8.957 MB / 0.6827 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.5072, allocations: 77.41 kB / 0.6828 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003712/0.5109, allocations: 2.637 MB / 0.6854 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002349/0.5111, allocations: 65.7 kB / 0.6855 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00113/0.5123, allocations: 2.274 MB / 0.6877 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005492/0.5128, allocations: 0.7979 MB / 0.6885 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005342/0.5134, allocations: 473.2 kB / 0.6889 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.58e-05/0.5134, allocations: 313.1 kB / 0.6892 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.5149, allocations: 1.285 MB / 0.6905 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/0.5168, allocations: 1.945 MB / 0.6924 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003302/0.5201, allocations: 3.356 MB / 0.6956 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.776e-05/0.5201, allocations: 4 kB / 0.6956 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of matching and sorting (n=328) (initialization): time 0.2834/0.8035, allocations: 4.13 MB / 0.6997 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/0.8035, allocations: 13.67 kB / 0.6997 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.412e-05/0.8036, allocations: 19 kB / 0.6997 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002044/0.8056, allocations: 0.7632 MB / 0.7004 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/0.8074, allocations: 0.5683 MB / 0.701 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007509/0.815, allocations: 10.23 MB / 0.711 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/0.8169, allocations: 106.4 kB / 0.7111 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/0.817, allocations: 103.2 kB / 0.7112 GB, free: 109.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * 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 (278): * Single equations (assignments): 273 * 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,77.8%), (1,8,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.00237/0.8194, allocations: 1.629 MB / 0.7128 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005611/0.82, allocations: 301.8 kB / 0.7131 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004335/0.8243, allocations: 3.703 MB / 0.7167 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.8243, allocations: 26.19 kB / 0.7167 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.159e-05/0.8244, allocations: 11.41 kB / 0.7167 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.8244, allocations: 10.64 kB / 0.7167 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008232/0.8326, allocations: 7.296 MB / 0.7239 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.8326, allocations: 3.625 kB / 0.7239 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008104/0.8334, allocations: 342.7 kB / 0.7242 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001603/0.835, allocations: 0.9436 MB / 0.7251 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/0.8352, allocations: 60.2 kB / 0.7252 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00849/0.8436, allocations: 14.81 MB / 0.7396 GB, free: 88.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.8436, allocations: 12.05 kB / 0.7396 GB, free: 88.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00572/0.8494, allocations: 5.506 MB / 0.745 GB, free: 83.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/0.8507, allocations: 0.5998 MB / 0.7456 GB, free: 82.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002797/0.851, allocations: 55.98 kB / 0.7457 GB, free: 82.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000748/0.8518, allocations: 107.9 kB / 0.7458 GB, free: 82.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003582/0.8521, allocations: 201.5 kB / 0.7459 GB, free: 82.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.792e-05/0.8522, allocations: 63.98 kB / 0.746 GB, free: 82.51 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001765/0.854, allocations: 1.785 MB / 0.7478 GB, free: 80.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.81e-07/0.854, allocations: 3.938 kB / 0.7478 GB, free: 80.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002304/0.8563, allocations: 0.9395 MB / 0.7487 GB, free: 79.78 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005529/0.8568, allocations: 260.5 kB / 0.7489 GB, free: 79.53 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003759/0.8606, allocations: 3.717 MB / 0.7526 GB, free: 75.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.8606, allocations: 4.656 kB / 0.7526 GB, free: 75.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002275/0.8629, allocations: 2.542 MB / 0.755 GB, free: 73.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/0.8653, allocations: 0.7228 MB / 0.7557 GB, free: 72.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.8769, allocations: 9.52 MB / 0.765 GB, free: 62.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002064/0.879, allocations: 2.84 MB / 0.7678 GB, free: 60 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008568/0.8798, allocations: 203.4 kB / 0.768 GB, free: 59.8 MB / 0.5261 GB Notification: Performance of SimCode: time 2.625e-06/0.8799, allocations: 0 / 0.768 GB, free: 59.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.4201/1.3, allocations: 205 MB / 0.9682 GB, free: 234.2 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.578624679008499]