Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 110.6 kB / 18.4 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 186.1 kB / 19.33 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.213/1.213, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 56.28 kB / 330.7 MB, free: 1.848 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06848/0.06966, allocations: 46.62 MB / 377.3 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.1748/0.2445, allocations: 49.51 MB / 426.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02487/0.2694, allocations: 12.93 MB / 439.7 MB, free: 144 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006511/0.276, allocations: 323.8 kB / 440 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02804/0.304, allocations: 13.86 MB / 453.9 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01488/0.3189, allocations: 5.455 MB / 459.3 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007286/0.3262, allocations: 3.301 MB / 462.6 MB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02419/0.3504, allocations: 24.41 MB / 487 MB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05616/0.4066, allocations: 46.85 MB / 0.5214 GB, free: 1.504 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01635/0.423, allocations: 12.71 MB / 0.5338 GB, free: 4.758 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01727/0.4403, allocations: 13.92 MB / 0.5474 GB, free: 6.789 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005264/0.4456, allocations: 3.633 MB / 0.5509 GB, free: 3.156 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3035/0.7491, allocations: 4.104 MB / 0.555 GB, free: 68.39 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008937/0.7581, allocations: 7.353 MB / 0.5621 GB, free: 68.39 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02143/0.7795, allocations: 13.86 MB / 0.5757 GB, free: 66.57 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03739/0.8169, allocations: 48.63 MB / 0.6232 GB, free: 42.6 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.817, allocations: 0.8125 kB / 0.6232 GB, free: 42.6 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.817, allocations: 0 / 0.6232 GB, free: 42.6 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0009736/0.818, allocations: 0.8125 kB / 0.6232 GB, free: 42.6 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5875 * Number of variables: 5875 Notification: Performance of Generate backend data structure: time 0.06541/0.8834, allocations: 27.78 MB / 0.6503 GB, free: 24.5 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.8835, allocations: 8.031 kB / 0.6503 GB, free: 24.49 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07539/0.9588, allocations: 14.92 MB / 0.6649 GB, free: 9.703 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02134/0.9802, allocations: 13.4 MB / 0.678 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001074/0.9813, allocations: 1.586 MB / 0.6795 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004441/0.9857, allocations: 2.085 MB / 0.6815 GB, free: 9.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06347/1.049, allocations: 35.17 MB / 0.7159 GB, free: 6.023 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004526/1.05, allocations: 39.27 kB / 0.7159 GB, free: 5.988 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002848/1.053, allocations: 0.8663 MB / 0.7168 GB, free: 5.145 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001018/1.054, allocations: 1.188 MB / 0.7179 GB, free: 3.953 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05612/1.11, allocations: 33 MB / 0.7502 GB, free: 2.941 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2982/1.408, allocations: 107.6 MB / 0.8552 GB, free: 107.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03146/1.439, allocations: 55.9 MB / 0.9098 GB, free: 52.19 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01181/1.451, allocations: 9.952 MB / 0.9195 GB, free: 42.19 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03562/1.487, allocations: 27.29 MB / 0.9462 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.775e-05/1.487, allocations: 133.8 kB / 0.9463 GB, free: 14.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=894): time 9.608e-06/1.487, allocations: 0 / 0.9463 GB, free: 14.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=906): time 0.2384/1.725, allocations: 39.47 MB / 0.9849 GB, free: 161.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.004e-05/1.726, allocations: 176.1 kB / 0.985 GB, free: 161.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01161/1.737, allocations: 8.499 MB / 0.9933 GB, free: 158.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001325/1.739, allocations: 174.1 kB / 0.9935 GB, free: 158.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004228/1.743, allocations: 8.842 MB / 1.002 GB, free: 151.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002576/1.745, allocations: 3.054 MB / 1.005 GB, free: 149.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003317/1.749, allocations: 2.272 MB / 1.007 GB, free: 148.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.176e-05/1.749, allocations: 301.1 kB / 1.008 GB, free: 147.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007842/1.757, allocations: 6.309 MB / 1.014 GB, free: 145.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008796/1.765, allocations: 10.26 MB / 1.024 GB, free: 138.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01725/1.783, allocations: 17.62 MB / 1.041 GB, free: 123.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.895e-05/1.783, allocations: 36 kB / 1.041 GB, free: 123.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1523) (initialization): time 0.02778/1.81, allocations: 20.64 MB / 1.061 GB, free: 105.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.7e-05/1.811, allocations: 60 kB / 1.061 GB, free: 105.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001332/1.811, allocations: 125.2 kB / 1.061 GB, free: 105.6 MB / 0.545 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.002519/1.813, allocations: 0.9306 MB / 1.062 GB, free: 104.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009/1.822, allocations: 2.489 MB / 1.065 GB, free: 102.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008742/1.831, allocations: 12.48 MB / 1.077 GB, free: 90.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008428/1.839, allocations: 0.6087 MB / 1.078 GB, free: 89.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000919/1.84, allocations: 0.5342 MB / 1.078 GB, free: 89.42 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * 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 (1269): * Single equations (assignments): 1262 * 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,100.0%), (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.01064/1.851, allocations: 7.991 MB / 1.086 GB, free: 82.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001764/1.853, allocations: 0.9144 MB / 1.087 GB, free: 81.69 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02421/1.877, allocations: 17.07 MB / 1.103 GB, free: 66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.146e-05/1.877, allocations: 43.83 kB / 1.103 GB, free: 65.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/1.877, allocations: 4 kB / 1.103 GB, free: 65.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004525/1.882, allocations: 2.239 MB / 1.106 GB, free: 63.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001886/1.884, allocations: 172.9 kB / 1.106 GB, free: 63.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004717/1.888, allocations: 495.4 kB / 1.106 GB, free: 63.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001299/1.89, allocations: 0.7797 MB / 1.107 GB, free: 62.25 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02583/1.915, allocations: 16.81 MB / 1.123 GB, free: 45.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0219/1.937, allocations: 19.32 MB / 1.142 GB, free: 26.19 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006317/1.944, allocations: 6.197 MB / 1.148 GB, free: 19.97 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008245/1.952, allocations: 5.785 MB / 1.154 GB, free: 14.21 MB / 0.545 GB Notification: Performance of Backend: time 4.81e-07/1.952, allocations: 0 / 1.154 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.1788/2.131, allocations: 11.51 MB / 1.165 GB, free: 187.1 MB / 0.545 GB Notification: Performance of SimCode: time 0.05927/2.19, allocations: 37.12 MB / 1.202 GB, free: 175.4 MB / 0.545 GB Notification: Performance of Templates: time 0.4132/2.603, allocations: 179.8 MB / 1.377 GB, free: 182.5 MB / 0.545 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -nls=newton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1)