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.001843/0.001843, 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.001948/0.001948, 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.602/1.602, allocations: 177 MB / 204.1 MB, free: 5.762 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.3515/0.3515, allocations: 34.86 MB / 295.4 MB, free: 0.5469 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.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 1.332e-06/1.332e-06, allocations: 0 / 443.6 MB, free: 436 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.777e-05, allocations: 9.094 kB / 443.6 MB, free: 428 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.2206/0.2206, allocations: 15.31 MB / 458.9 MB, free: 34.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.2307, allocations: 5.673 MB / 464.6 MB, free: 30.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003207/0.2339, allocations: 143.9 kB / 464.7 MB, free: 30.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00364/0.2375, allocations: 1.367 MB / 466.1 MB, free: 29.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005563/0.2431, allocations: 1.872 MB / 468 MB, free: 28.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.2455, allocations: 1.079 MB / 469 MB, free: 27.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005609/0.2511, allocations: 6.661 MB / 475.7 MB, free: 24.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003097/0.2542, allocations: 2.757 MB / 478.5 MB, free: 22.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005895/0.2601, allocations: 4.437 MB / 482.9 MB, free: 20.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004038/0.2641, allocations: 2.937 MB / 485.8 MB, free: 19.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001412/0.2655, allocations: 0.7871 MB / 486.6 MB, free: 19.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/0.2681, allocations: 1.078 MB / 487.7 MB, free: 19.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001447/0.2696, allocations: 1.934 MB / 489.6 MB, free: 18.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004009/0.2736, allocations: 2.304 MB / 491.9 MB, free: 17.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01911/0.2927, allocations: 10.73 MB / 0.4909 GB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.2927, allocations: 0 / 0.4909 GB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.238e-06/0.2927, allocations: 0.5625 kB / 0.4909 GB, free: 13.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006254/0.2933, allocations: 0 / 0.4909 GB, free: 13.3 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: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.0226/0.3159, allocations: 6.567 MB / 0.4973 GB, free: 9.117 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.316, allocations: 9.719 kB / 0.4973 GB, free: 9.117 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005679/0.3217, allocations: 1.105 MB / 0.4984 GB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007902/0.3296, allocations: 3.628 MB / 0.5019 GB, free: 6.082 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003071/0.3299, allocations: 371.3 kB / 0.5023 GB, free: 5.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/0.3311, allocations: 482.7 kB / 0.5028 GB, free: 5.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01299/0.3441, allocations: 7.218 MB / 0.5098 GB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000113/0.3442, allocations: 7.938 kB / 0.5098 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004921/0.3447, allocations: 196 kB / 0.51 GB, free: 436 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001841/0.3449, allocations: 253.8 kB / 0.5102 GB, free: 180 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01437/0.3593, allocations: 5.949 MB / 0.516 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04754/0.4068, allocations: 17.95 MB / 0.5336 GB, free: 7.898 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009519/0.4163, allocations: 4.458 MB / 0.5379 GB, free: 3.711 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00495/0.4213, allocations: 2.298 MB / 0.5402 GB, free: 1.406 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01394/0.4352, allocations: 5.6 MB / 0.5456 GB, free: 11.78 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.91e-05/0.4353, allocations: 60.56 kB / 0.5457 GB, free: 11.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=219): time 4.208e-06/0.4353, allocations: 0 / 0.5457 GB, free: 11.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=226): time 0.02319/0.4585, allocations: 8.953 MB / 0.5544 GB, free: 2.734 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.4586, allocations: 73.41 kB / 0.5545 GB, free: 2.652 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005417/0.464, allocations: 2.641 MB / 0.5571 GB, free: 15.99 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004829/0.4645, allocations: 65.64 kB / 0.5572 GB, free: 15.92 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002223/0.4667, allocations: 2.262 MB / 0.5594 GB, free: 13.64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001168/0.4679, allocations: 0.794 MB / 0.5601 GB, free: 12.84 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009285/0.4688, allocations: 465.2 kB / 0.5606 GB, free: 12.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4689, allocations: 305.1 kB / 0.5609 GB, free: 12.08 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002584/0.4715, allocations: 1.289 MB / 0.5621 GB, free: 10.79 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00316/0.4747, allocations: 1.941 MB / 0.564 GB, free: 8.574 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005836/0.4805, allocations: 3.34 MB / 0.5673 GB, free: 4.984 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.292e-05/0.4806, allocations: 8 kB / 0.5673 GB, free: 4.977 MB / 474.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.00873/0.4893, allocations: 4.14 MB / 0.5713 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/0.4893, allocations: 16.44 kB / 0.5714 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.294e-05/0.4893, allocations: 16 kB / 0.5714 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002754/0.4921, allocations: 0.7672 MB / 0.5721 GB, free: 0 / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002678/0.4948, allocations: 0.5617 MB / 0.5727 GB, free: 15.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/0.5087, allocations: 10.25 MB / 0.5827 GB, free: 4.797 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002619/0.5113, allocations: 107.9 kB / 0.5828 GB, free: 4.691 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003264/0.5116, allocations: 104 kB / 0.5829 GB, free: 4.59 MB / 490.7 MB 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.003494/0.5151, allocations: 1.621 MB / 0.5845 GB, free: 2.957 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008715/0.516, allocations: 298.1 kB / 0.5847 GB, free: 2.664 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007844/0.5238, allocations: 3.71 MB / 0.5884 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-05/0.5239, allocations: 20 kB / 0.5884 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.037e-05/0.5239, allocations: 12 kB / 0.5884 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-05/0.5239, allocations: 11.95 kB / 0.5884 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/0.5404, allocations: 7.288 MB / 0.5955 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.5404, allocations: 0 / 0.5955 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/0.5421, allocations: 347.8 kB / 0.5959 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003498/0.5456, allocations: 0.9461 MB / 0.5968 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000301/0.5459, allocations: 59.98 kB / 0.5968 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01999/0.5659, allocations: 14.8 MB / 0.6113 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.5659, allocations: 4 kB / 0.6113 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/0.5772, allocations: 5.497 MB / 0.6167 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002279/0.5794, allocations: 0.5956 MB / 0.6173 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000709/0.5802, allocations: 55.92 kB / 0.6173 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/0.5818, allocations: 107.9 kB / 0.6174 GB, free: 424 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008724/0.5827, allocations: 193.7 kB / 0.6176 GB, free: 228 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003034/0.583, allocations: 67.97 kB / 0.6177 GB, free: 160 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003536/0.5865, allocations: 1.781 MB / 0.6194 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5865, allocations: 0 / 0.6194 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00429/0.5908, allocations: 0.9458 MB / 0.6203 GB, free: 13.42 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.0008678/0.5917, allocations: 272.5 kB / 0.6206 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007214/0.5989, allocations: 3.711 MB / 0.6242 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.5989, allocations: 1 kB / 0.6242 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005168/0.604, allocations: 2.551 MB / 0.6267 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004045/0.6081, allocations: 0.7332 MB / 0.6274 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2051/0.8132, allocations: 9.336 MB / 0.6365 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002843/0.8161, allocations: 2.922 MB / 0.6394 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002125/0.8182, allocations: 0.711 MB / 0.6401 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005235/0.8187, allocations: 187.5 kB / 0.6403 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.072e-06/0.8187, allocations: 0 / 0.6403 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.06892/0.8876, allocations: 43.35 MB / 0.6826 GB, free: 133.4 MB / 0.5261 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.033212832873687]