Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001249/0.001254, allocations: 109.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 67.88 kB / 360.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2051, allocations: 50.54 MB / 411.4 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.04804/0.2532, allocations: 50.1 MB / 461.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02331/0.2766, allocations: 13.13 MB / 474.6 MB, free: 1.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006735/0.2833, allocations: 382.8 kB / 475 MB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02886/0.3122, allocations: 13.86 MB / 488.9 MB, free: 3.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01453/0.3268, allocations: 5.417 MB / 494.3 MB, free: 14.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008055/0.3348, allocations: 3.355 MB / 497.6 MB, free: 10.85 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02544/0.3603, allocations: 24.36 MB / 0.5098 GB, free: 2.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3908/0.7511, allocations: 46.95 MB / 0.5556 GB, free: 8.465 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0123/0.7634, allocations: 12.65 MB / 0.568 GB, free: 7.508 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01439/0.7778, allocations: 13.98 MB / 0.5816 GB, free: 4.785 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005283/0.7831, allocations: 3.625 MB / 0.5851 GB, free: 1.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01848/0.8016, allocations: 5.253 MB / 0.5903 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005629/0.8072, allocations: 7.288 MB / 0.5974 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01764/0.8249, allocations: 13.95 MB / 0.611 GB, free: 14.03 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04205/0.8669, allocations: 48.74 MB / 0.6586 GB, free: 14.08 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.867, allocations: 0 / 0.6586 GB, free: 14.08 MB / 0.5138 GB Notification: Performance of FrontEnd: time 3.206e-06/0.867, allocations: 4 kB / 0.6586 GB, free: 14.07 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 0.0007728/0.8678, allocations: 0 / 0.6586 GB, free: 14.07 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5818 * Number of variables: 5818 Notification: Performance of Generate backend data structure: time 0.06799/0.9358, allocations: 27.66 MB / 0.6856 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.9358, allocations: 8.031 kB / 0.6856 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07392/1.01, allocations: 13.97 MB / 0.6993 GB, free: 4.625 MB / 0.5451 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02676/1.037, allocations: 15.01 MB / 0.7139 GB, free: 6.18 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00111/1.038, allocations: 1.573 MB / 0.7155 GB, free: 4.625 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004141/1.042, allocations: 2.07 MB / 0.7175 GB, free: 2.574 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4065/1.448, allocations: 34.73 MB / 0.7514 GB, free: 180.6 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004303/1.449, allocations: 28.59 kB / 0.7515 GB, free: 180.6 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002339/1.451, allocations: 0.8555 MB / 0.7523 GB, free: 179.9 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007809/1.452, allocations: 1.156 MB / 0.7534 GB, free: 179.8 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04583/1.498, allocations: 32.33 MB / 0.785 GB, free: 164.5 MB / 0.5764 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1216/1.619, allocations: 107 MB / 0.8894 GB, free: 62.01 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02924/1.649, allocations: 50.88 MB / 0.9391 GB, free: 7.73 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01184/1.661, allocations: 9.802 MB / 0.9487 GB, free: 13.88 MB / 0.5921 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2375/1.898, allocations: 22.79 MB / 0.9709 GB, free: 181.4 MB / 0.5921 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.997e-05/1.898, allocations: 131 kB / 0.9711 GB, free: 181.3 MB / 0.5921 GB Notification: Performance of pre-optimization done (n=894): time 1.134e-05/1.898, allocations: 0 / 0.9711 GB, free: 181.3 MB / 0.5921 GB Notification: Performance of matching and sorting (n=906): time 0.05287/1.951, allocations: 39.52 MB / 1.01 GB, free: 164.4 MB / 0.5921 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/1.951, allocations: 169.1 kB / 1.01 GB, free: 164.3 MB / 0.5921 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008941/1.96, allocations: 8.383 MB / 1.018 GB, free: 161.2 MB / 0.5921 GB Notification: Performance of collectPreVariables (initialization): time 0.0008226/1.961, allocations: 176.3 kB / 1.018 GB, free: 161.1 MB / 0.5921 GB Notification: Performance of collectInitialEqns (initialization): time 0.003176/1.964, allocations: 8.702 MB / 1.027 GB, free: 154.6 MB / 0.5921 GB Notification: Performance of collectInitialBindings (initialization): time 0.001901/1.966, allocations: 3.057 MB / 1.03 GB, free: 152.2 MB / 0.5921 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002765/1.969, allocations: 2.21 MB / 1.032 GB, free: 151.2 MB / 0.5921 GB Notification: Performance of setup shared object (initialization): time 3.192e-05/1.969, allocations: 301.1 kB / 1.032 GB, free: 150.9 MB / 0.5921 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007038/1.976, allocations: 6.252 MB / 1.038 GB, free: 148.5 MB / 0.5921 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008107/1.984, allocations: 9.97 MB / 1.048 GB, free: 141.5 MB / 0.5921 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01628/2, allocations: 17.25 MB / 1.065 GB, free: 124.7 MB / 0.5921 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-05/2, allocations: 32 kB / 1.065 GB, free: 124.7 MB / 0.5921 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.0261/2.026, allocations: 20.33 MB / 1.085 GB, free: 105.8 MB / 0.5921 GB Notification: Performance of prepare postOptimizeDAE: time 5.979e-05/2.027, allocations: 56 kB / 1.085 GB, free: 105.7 MB / 0.5921 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001013/2.027, allocations: 116 kB / 1.085 GB, free: 105.6 MB / 0.5921 GB Notification: Tearing is skipped for strong component 1 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.002483/2.029, allocations: 0.9382 MB / 1.086 GB, free: 104.7 MB / 0.5921 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007672/2.037, allocations: 2.402 MB / 1.088 GB, free: 102.2 MB / 0.5921 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00835/2.045, allocations: 12.45 MB / 1.1 GB, free: 89.14 MB / 0.5921 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006655/2.052, allocations: 0.6047 MB / 1.101 GB, free: 88.53 MB / 0.5921 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007286/2.053, allocations: 0.5156 MB / 1.101 GB, free: 88.02 MB / 0.5921 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): 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.008761/2.061, allocations: 7.931 MB / 1.109 GB, free: 80.07 MB / 0.5921 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001558/2.063, allocations: 0.9069 MB / 1.11 GB, free: 79.15 MB / 0.5921 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02299/2.086, allocations: 17.05 MB / 1.127 GB, free: 61.97 MB / 0.5921 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.484e-05/2.086, allocations: 47.81 kB / 1.127 GB, free: 61.93 MB / 0.5921 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/2.086, allocations: 4 kB / 1.127 GB, free: 61.92 MB / 0.5921 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004398/2.09, allocations: 2.231 MB / 1.129 GB, free: 59.66 MB / 0.5921 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001157/2.092, allocations: 168 kB / 1.129 GB, free: 59.5 MB / 0.5921 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004126/2.096, allocations: 487.5 kB / 1.129 GB, free: 59.02 MB / 0.5921 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001103/2.097, allocations: 0.7836 MB / 1.13 GB, free: 58.23 MB / 0.5921 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02443/2.121, allocations: 16.8 MB / 1.147 GB, free: 41.57 MB / 0.5921 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02098/2.142, allocations: 19.29 MB / 1.166 GB, free: 22.21 MB / 0.5921 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006121/2.148, allocations: 6.186 MB / 1.172 GB, free: 16.01 MB / 0.5921 GB Notification: Performance of sorting global known variables: time 0.006515/2.155, allocations: 5.713 MB / 1.177 GB, free: 10.31 MB / 0.5921 GB Notification: Performance of Backend: time 4.51e-07/2.155, allocations: 7.938 kB / 1.177 GB, free: 10.3 MB / 0.5921 GB Notification: Performance of simCode: created initialization part: time 0.2046/2.36, allocations: 11.4 MB / 1.188 GB, free: 192.4 MB / 0.5921 GB Notification: Performance of SimCode: time 0.05098/2.411, allocations: 36.91 MB / 1.224 GB, free: 176.3 MB / 0.5921 GB Notification: Performance of Templates: time 0.2248/2.635, allocations: 177.6 MB / 1.398 GB, free: 10.64 MB / 0.5921 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -nls=newton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1)