Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.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.001371/0.001371, allocations: 88.28 kB / 21.44 MB, free: 3.113 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.001556/0.001556, allocations: 150.6 kB / 24.69 MB, free: 9.422 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.9335/0.9335, allocations: 177 MB / 204.9 MB, free: 5.676 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.2913/0.2913, allocations: 34.87 MB / 296.2 MB, free: 0.4922 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_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=21000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=21000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 443.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.528e-05, allocations: 2.281 kB / 443.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.2357/0.2357, allocations: 42.98 MB / 486.7 MB, free: 15.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02232/0.258, allocations: 12.81 MB / 499.5 MB, free: 6.797 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0139/0.2719, allocations: 463.1 kB / 499.9 MB, free: 6.641 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02329/0.2952, allocations: 13.74 MB / 0.5016 GB, free: 14.89 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02382/0.319, allocations: 5.71 MB / 0.5072 GB, free: 11.26 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01218/0.3312, allocations: 3.358 MB / 0.5105 GB, free: 9.207 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.03709/0.3683, allocations: 25.41 MB / 0.5353 GB, free: 7.316 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05616/0.4245, allocations: 30.08 MB / 0.5647 GB, free: 9.016 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04022/0.4647, allocations: 19.04 MB / 0.5833 GB, free: 5.965 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01952/0.4842, allocations: 12.17 MB / 0.5952 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.00929/0.4935, allocations: 3.621 MB / 0.5987 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01512/0.5086, allocations: 4.135 MB / 0.6027 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.01202/0.5206, allocations: 7.469 MB / 0.61 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.02301/0.5437, allocations: 9.306 MB / 0.6191 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.539/1.083, allocations: 49.49 MB / 0.6675 GB, free: 72.55 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.083, allocations: 0 / 0.6675 GB, free: 72.55 MB / 0.5262 GB Notification: Performance of FrontEnd: time 3.146e-06/1.083, allocations: 0.8125 kB / 0.6675 GB, free: 72.55 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.001488/1.084, allocations: 0 / 0.6675 GB, free: 72.55 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5824 * Number of variables: 5824 Notification: Performance of Generate backend data structure: time 0.1192/1.203, allocations: 27.86 MB / 0.6947 GB, free: 60.58 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/1.203, allocations: 11.67 kB / 0.6947 GB, free: 60.58 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04727/1.251, allocations: 13.83 MB / 0.7082 GB, free: 54.33 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03646/1.287, allocations: 15.26 MB / 0.7231 GB, free: 44.76 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001642/1.289, allocations: 1.575 MB / 0.7246 GB, free: 43.21 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01502/1.304, allocations: 2.073 MB / 0.7266 GB, free: 41.15 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09454/1.398, allocations: 35.42 MB / 0.7612 GB, free: 5.52 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001006/1.399, allocations: 27.56 kB / 0.7613 GB, free: 5.496 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008447/1.408, allocations: 0.8614 MB / 0.7621 GB, free: 4.656 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007618/1.409, allocations: 1.166 MB / 0.7632 GB, free: 3.488 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07328/1.482, allocations: 32.3 MB / 0.7948 GB, free: 3.184 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4738/1.956, allocations: 93.49 MB / 0.8861 GB, free: 160.5 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03156/1.987, allocations: 22.67 MB / 0.9082 GB, free: 159.5 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01342/2.001, allocations: 8.973 MB / 0.917 GB, free: 159.3 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04289/2.044, allocations: 20.42 MB / 0.9369 GB, free: 152.1 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.786e-05/2.044, allocations: 126.8 kB / 0.937 GB, free: 152 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=894): time 9.448e-06/2.044, allocations: 0 / 0.937 GB, free: 152 MB / 0.6199 GB Notification: Performance of matching and sorting (n=906): time 0.06189/2.106, allocations: 39.02 MB / 0.9752 GB, free: 133.1 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.76e-05/2.106, allocations: 173.3 kB / 0.9753 GB, free: 132.9 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00953/2.115, allocations: 7.772 MB / 0.9829 GB, free: 125.3 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.002019/2.117, allocations: 173.7 kB / 0.9831 GB, free: 125.1 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.003157/2.12, allocations: 9.011 MB / 0.9919 GB, free: 116.1 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.003182/2.123, allocations: 3.165 MB / 0.995 GB, free: 112.9 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00315/2.127, allocations: 2.225 MB / 0.9971 GB, free: 110.7 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 4.166e-05/2.127, allocations: 301.1 kB / 0.9974 GB, free: 110.4 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006802/2.133, allocations: 6.249 MB / 1.004 GB, free: 104.2 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01006/2.144, allocations: 10.03 MB / 1.013 GB, free: 92.48 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01959/2.163, allocations: 17.27 MB / 1.03 GB, free: 73.52 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001554/2.163, allocations: 40 kB / 1.03 GB, free: 73.48 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.02868/2.192, allocations: 20.14 MB / 1.05 GB, free: 53.25 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 7.477e-05/2.192, allocations: 56 kB / 1.05 GB, free: 53.2 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001339/2.192, allocations: 116 kB / 1.05 GB, free: 53.09 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007468/2.2, allocations: 4.235 MB / 1.054 GB, free: 48.83 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007999/2.208, allocations: 2.418 MB / 1.057 GB, free: 46.41 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03475/2.242, allocations: 39.34 MB / 1.095 GB, free: 6.492 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008848/2.251, allocations: 0.6009 MB / 1.096 GB, free: 5.891 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00265/2.254, allocations: 0.5273 MB / 1.096 GB, free: 5.363 MB / 0.6199 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 531 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],booleanStep2QS[3].y,booleanStep2QS[2].y,booleanStep2QS[1].y,booleanStep1QS[3].y,booleanStep1QS[2].y,booleanStep1QS[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1230): * Single equations (assignments): 1223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 6 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%), (28,176,26.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.3019/2.556, allocations: 7.924 MB / 1.104 GB, free: 179.5 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002358/2.558, allocations: 0.889 MB / 1.105 GB, free: 179.5 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02575/2.584, allocations: 16.68 MB / 1.121 GB, free: 178.8 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.807e-05/2.584, allocations: 95.47 kB / 1.121 GB, free: 178.8 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001198/2.584, allocations: 41 kB / 1.121 GB, free: 178.8 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001966/2.584, allocations: 44.34 kB / 1.121 GB, free: 178.8 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06194/2.646, allocations: 31.25 MB / 1.152 GB, free: 167.9 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.297e-05/2.646, allocations: 6.812 kB / 1.152 GB, free: 167.9 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004569/2.651, allocations: 1.439 MB / 1.153 GB, free: 167.8 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008344/2.659, allocations: 4.252 MB / 1.157 GB, free: 166.8 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001829/2.661, allocations: 216.4 kB / 1.157 GB, free: 166.7 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03505/2.696, allocations: 41.2 MB / 1.198 GB, free: 137.3 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/2.696, allocations: 12.53 kB / 1.198 GB, free: 137.3 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04082/2.737, allocations: 24.53 MB / 1.222 GB, free: 114.3 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007381/2.744, allocations: 2.198 MB / 1.224 GB, free: 112.6 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003344/2.748, allocations: 180 kB / 1.224 GB, free: 112.5 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0127/2.76, allocations: 487.5 kB / 1.224 GB, free: 112 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00305/2.763, allocations: 0.7515 MB / 1.225 GB, free: 111.2 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001489/2.765, allocations: 263.9 kB / 1.225 GB, free: 111 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.009048/2.774, allocations: 5.114 MB / 1.23 GB, free: 105.9 MB / 0.6199 GB Notification: Performance of sort global known variables: time 6.41e-07/2.774, allocations: 0 / 1.23 GB, free: 105.9 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.01898/2.793, allocations: 3.797 MB / 1.234 GB, free: 102.1 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,quadraticLoadTorqueQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,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 (703): * Single equations (assignments): 695 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (28,176,26.3%), (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.003117/2.796, allocations: 488.7 kB / 1.235 GB, free: 101.6 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.02229/2.818, allocations: 16.49 MB / 1.251 GB, free: 85.14 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/2.818, allocations: 0 / 1.251 GB, free: 85.14 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.01305/2.831, allocations: 9.296 MB / 1.26 GB, free: 75.84 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01176/2.843, allocations: 2.158 MB / 1.262 GB, free: 73.75 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06692/2.91, allocations: 38.04 MB / 1.299 GB, free: 35.62 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01998/2.93, allocations: 12.59 MB / 1.311 GB, free: 23 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003307/2.933, allocations: 0.7737 MB / 1.312 GB, free: 22.22 MB / 0.6199 GB Notification: Performance of SimCode: time 1.623e-06/2.933, allocations: 4 kB / 1.312 GB, free: 22.22 MB / 0.6199 GB Notification: Performance of Templates: time 2.092/5.026, allocations: 1.137 GB / 2.449 GB, free: 144.2 MB / 0.6668 GB " [Timeout remaining time 655] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 24.937855737749487]