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.0008911/0.0008911, allocations: 75.69 kB / 21.7 MB, free: 2.844 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.000914/0.000914, allocations: 163.8 kB / 24.99 MB, free: 9.281 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.9441/0.9441, allocations: 177 MB / 205.2 MB, free: 5.602 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.2359/0.2359, allocations: 34.85 MB / 296.6 MB, free: 0.5781 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 3.236e-06/3.236e-06, allocations: 3.984 kB / 378.1 MB, free: 3.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.992e-05, allocations: 8.844 kB / 378.1 MB, free: 3.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.04331/0.04334, allocations: 49.23 MB / 427.3 MB, free: 1.625 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02348/0.06682, allocations: 13.09 MB / 440.4 MB, free: 4.496 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009004/0.07582, allocations: 461.6 kB / 440.9 MB, free: 4.043 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1625/0.2383, allocations: 14.86 MB / 455.7 MB, free: 45.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01214/0.2504, allocations: 5.734 MB / 461.5 MB, free: 45.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005023/0.2554, allocations: 3.381 MB / 464.8 MB, free: 44.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01962/0.2751, allocations: 25.41 MB / 490.2 MB, free: 34.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04205/0.3171, allocations: 30.12 MB / 0.5082 GB, free: 18.53 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02819/0.3453, allocations: 19.27 MB / 0.527 GB, free: 9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0188/0.3641, allocations: 13.51 MB / 0.5402 GB, free: 12.94 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007974/0.3721, allocations: 3.625 MB / 0.5437 GB, free: 9.312 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007248/0.3793, allocations: 4.131 MB / 0.5478 GB, free: 5.215 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004798/0.3841, allocations: 7.598 MB / 0.5552 GB, free: 14.05 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01399/0.3981, allocations: 9.418 MB / 0.5644 GB, free: 5.059 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02409/0.4222, allocations: 23.01 MB / 0.5869 GB, free: 15.25 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4222, allocations: 3.281 kB / 0.5869 GB, free: 15.25 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4222, allocations: 4 kB / 0.5869 GB, free: 15.25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005714/0.4228, allocations: 0 / 0.5869 GB, free: 15.25 MB / 474.7 MB 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.0537/0.4765, allocations: 29.67 MB / 0.6158 GB, free: 1.629 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.4765, allocations: 12.02 kB / 0.6158 GB, free: 1.617 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3224/0.7989, allocations: 17.22 MB / 0.6327 GB, free: 147.6 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01883/0.8177, allocations: 14.4 MB / 0.6467 GB, free: 141.7 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001164/0.8189, allocations: 1.574 MB / 0.6483 GB, free: 141 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004188/0.8231, allocations: 2.087 MB / 0.6503 GB, free: 140.3 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04508/0.8682, allocations: 18.63 MB / 0.6685 GB, free: 133.9 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004505/0.8686, allocations: 30.66 kB / 0.6685 GB, free: 133.9 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001959/0.8706, allocations: 0.8587 MB / 0.6694 GB, free: 133.3 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001024/0.8716, allocations: 1.165 MB / 0.6705 GB, free: 133.1 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02783/0.8994, allocations: 9.969 MB / 0.6802 GB, free: 125.4 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09948/0.9989, allocations: 84.25 MB / 0.7625 GB, free: 40.93 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01563/1.015, allocations: 17.35 MB / 0.7795 GB, free: 26.74 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005841/1.02, allocations: 4.33 MB / 0.7837 GB, free: 22.35 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02047/1.041, allocations: 14.05 MB / 0.7974 GB, free: 8.699 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.276e-05/1.041, allocations: 140.7 kB / 0.7975 GB, free: 8.551 MB / 490.8 MB Notification: Performance of pre-optimization done (n=894): time 9.438e-06/1.041, allocations: 3.938 kB / 0.7975 GB, free: 8.547 MB / 490.8 MB Notification: Performance of matching and sorting (n=906): time 0.3349/1.376, allocations: 21.95 MB / 0.819 GB, free: 112.3 MB / 490.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/1.376, allocations: 172.5 kB / 0.8191 GB, free: 112.2 MB / 490.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008194/1.384, allocations: 6.944 MB / 0.8259 GB, free: 111.5 MB / 490.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0009506/1.385, allocations: 177.6 kB / 0.8261 GB, free: 111.5 MB / 490.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.004018/1.389, allocations: 9.43 MB / 0.8353 GB, free: 107.7 MB / 490.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.002281/1.391, allocations: 3.302 MB / 0.8385 GB, free: 105.6 MB / 490.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002669/1.394, allocations: 2.48 MB / 0.8409 GB, free: 105.4 MB / 490.9 MB Notification: Performance of setup shared object (initialization): time 4.813e-05/1.394, allocations: 476.8 kB / 0.8414 GB, free: 104.9 MB / 490.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003194/1.397, allocations: 1.882 MB / 0.8432 GB, free: 104.9 MB / 490.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005882/1.403, allocations: 7.479 MB / 0.8505 GB, free: 98.42 MB / 490.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/1.414, allocations: 10.46 MB / 0.8608 GB, free: 91.46 MB / 490.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001004/1.414, allocations: 34.03 kB / 0.8608 GB, free: 91.46 MB / 490.9 MB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.01656/1.43, allocations: 11.14 MB / 0.8717 GB, free: 88.71 MB / 490.9 MB Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/1.431, allocations: 52.31 kB / 0.8717 GB, free: 88.71 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001043/1.431, allocations: 119.1 kB / 0.8718 GB, free: 88.71 MB / 490.9 MB Notification: Tearing is skipped for linear strong component 1: solving it torn to 28 iteration variables is estimated at 65130 flops against 24551 for the untorn system of size 204. Notification: Performance of postOpt tearingSystem (initialization): time 0.007994/1.439, allocations: 3.602 MB / 0.8753 GB, free: 88.11 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005358/1.444, allocations: 2.423 MB / 0.8777 GB, free: 87.87 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006416/1.45, allocations: 11.92 MB / 0.8894 GB, free: 77.26 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006466/1.457, allocations: 0.6034 MB / 0.8899 GB, free: 77.05 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009628/1.458, allocations: 0.5217 MB / 0.8905 GB, free: 76.96 MB / 490.9 MB 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): 2 * Torn equation systems: 5 * 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%), (204,1.3%)} * 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): 5 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004653/1.462, allocations: 0.8827 MB / 0.8913 GB, free: 76.23 MB / 490.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001759/1.464, allocations: 1.174 MB / 0.8925 GB, free: 75.64 MB / 490.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/1.477, allocations: 9.024 MB / 0.9013 GB, free: 72.66 MB / 490.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-05/1.477, allocations: 91.56 kB / 0.9014 GB, free: 72.66 MB / 490.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-05/1.477, allocations: 41.97 kB / 0.9014 GB, free: 72.66 MB / 490.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-05/1.477, allocations: 47.91 kB / 0.9014 GB, free: 72.66 MB / 490.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03444/1.512, allocations: 24.15 MB / 0.925 GB, free: 52.72 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/1.512, allocations: 8 kB / 0.925 GB, free: 52.71 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003119/1.515, allocations: 1.439 MB / 0.9264 GB, free: 51.54 MB / 490.9 MB Notification: Tearing is skipped for linear strong component 14: solving it torn to 28 iteration variables is estimated at 65130 flops against 24551 for the untorn system of size 204. Notification: Performance of postOpt tearingSystem (simulation): time 0.007923/1.523, allocations: 3.612 MB / 0.93 GB, free: 48.93 MB / 490.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004954/1.523, allocations: 216.2 kB / 0.9302 GB, free: 48.74 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006786/1.53, allocations: 16.66 MB / 0.9464 GB, free: 31.86 MB / 490.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.53, allocations: 8.188 kB / 0.9465 GB, free: 31.85 MB / 490.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01513/1.545, allocations: 11.16 MB / 0.9574 GB, free: 21.79 MB / 490.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003555/1.549, allocations: 1.979 MB / 0.9593 GB, free: 20.06 MB / 490.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008754/1.55, allocations: 178 kB / 0.9595 GB, free: 19.89 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002446/1.552, allocations: 486.8 kB / 0.9599 GB, free: 19.54 MB / 490.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001066/1.553, allocations: 0.8447 MB / 0.9608 GB, free: 19.15 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003875/1.554, allocations: 273.8 kB / 0.961 GB, free: 18.91 MB / 490.9 MB Notification: Performance of sorting global known variables: time 0.00388/1.558, allocations: 3.286 MB / 0.9642 GB, free: 16 MB / 490.9 MB Notification: Performance of sort global known variables: time 7.1e-08/1.558, allocations: 0 / 0.9642 GB, free: 16 MB / 490.9 MB Notification: Performance of remove unused functions: time 0.009815/1.567, allocations: 3.465 MB / 0.9676 GB, free: 12.54 MB / 490.9 MB 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): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(204,1.3%)} * 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): 7 systems {(1,1,100.0%), (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.001083/1.568, allocations: 475.7 kB / 0.9681 GB, free: 12.08 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.0125/1.581, allocations: 9.15 MB / 0.977 GB, free: 2.82 MB / 490.9 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.581, allocations: 4 kB / 0.977 GB, free: 2.816 MB / 490.9 MB Notification: Performance of simCode: created simulation system equations: time 0.006583/1.588, allocations: 5.812 MB / 0.9827 GB, free: 12.88 MB / 0.495 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007246/1.595, allocations: 2.256 MB / 0.9849 GB, free: 10.68 MB / 0.495 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2095/1.804, allocations: 31.43 MB / 1.016 GB, free: 129.5 MB / 0.495 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009423/1.814, allocations: 11.31 MB / 1.027 GB, free: 128.5 MB / 0.495 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00321/1.817, allocations: 0.78 MB / 1.027 GB, free: 128.5 MB / 0.495 GB Notification: Performance of SimCode: time 1.854e-06/1.817, allocations: 2.25 kB / 1.027 GB, free: 128.5 MB / 0.495 GB Notification: Performance of Templates: time 1.729/3.546, allocations: 1.137 GB / 2.165 GB, free: 140.2 MB / 0.5263 GB " [Timeout remaining time 656] 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: 17.596597264986485]