Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 114.3 kB / 17.75 MB, free: 5.309 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.001639/0.001639, allocations: 189.3 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000998/0.0009981, allocations: 47.92 kB / 352 MB, free: 3.188 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2239, allocations: 49.43 MB / 401.5 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase): time 0.0235/0.2474, allocations: 23.79 MB / 425.2 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.2601, allocations: 6.452 MB / 431.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003691/0.2638, allocations: 155.4 kB / 431.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004598/0.2684, allocations: 1.647 MB / 433.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007322/0.2758, allocations: 2.314 MB / 435.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003933/0.2798, allocations: 1.396 MB / 437.2 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01103/0.2908, allocations: 9.858 MB / 447.1 MB, free: 11.06 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01212/0.3029, allocations: 9.028 MB / 456.1 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006904/0.3099, allocations: 4.674 MB / 460.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008403/0.3183, allocations: 5.282 MB / 466 MB, free: 7.934 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003365/0.3217, allocations: 1.305 MB / 467.3 MB, free: 6.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00444/0.3262, allocations: 1.5 MB / 468.8 MB, free: 5.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003928/0.3301, allocations: 2.945 MB / 471.8 MB, free: 2.176 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008944/0.3391, allocations: 5.415 MB / 477.2 MB, free: 12.74 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01829/0.3574, allocations: 17.04 MB / 494.2 MB, free: 11.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3574, allocations: 0 / 494.2 MB, free: 11.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3574, allocations: 0 / 494.2 MB, free: 11.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000438/0.3579, allocations: 0 / 494.2 MB, free: 11.65 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.03084/0.3888, allocations: 10.57 MB / 0.493 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.3888, allocations: 8.031 kB / 0.493 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/0.4009, allocations: 2.039 MB / 0.495 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01332/0.4142, allocations: 5.869 MB / 0.5007 GB, free: 8.977 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006074/0.4148, allocations: 0.5904 MB / 0.5013 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002459/0.4173, allocations: 0.7968 MB / 0.5021 GB, free: 7.586 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02811/0.4454, allocations: 11.33 MB / 0.5131 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003691/0.4459, allocations: 11.89 kB / 0.5131 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002081/0.448, allocations: 328 kB / 0.5135 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003739/0.4483, allocations: 380.3 kB / 0.5138 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02189/0.4703, allocations: 9.906 MB / 0.5235 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.402/0.8723, allocations: 33.98 MB / 0.5567 GB, free: 105.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01497/0.8873, allocations: 19.9 MB / 0.5761 GB, free: 87.73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005031/0.8924, allocations: 3.691 MB / 0.5797 GB, free: 85.85 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01423/0.9066, allocations: 9.412 MB / 0.5889 GB, free: 79.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.9067, allocations: 73.72 kB / 0.589 GB, free: 79.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=319): time 5.01e-06/0.9067, allocations: 0 / 0.589 GB, free: 79.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=325): time 0.02801/0.9347, allocations: 15.14 MB / 0.6038 GB, free: 65.51 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.9348, allocations: 89.97 kB / 0.6038 GB, free: 65.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004949/0.9398, allocations: 4.405 MB / 0.6081 GB, free: 60.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003021/0.9401, allocations: 81.7 kB / 0.6082 GB, free: 60.9 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001427/0.9415, allocations: 3.54 MB / 0.6117 GB, free: 57.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000591/0.9421, allocations: 1.092 MB / 0.6127 GB, free: 56.25 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008576/0.943, allocations: 0.7004 MB / 0.6134 GB, free: 55.55 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.271e-05/0.943, allocations: 301.1 kB / 0.6137 GB, free: 55.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002333/0.9453, allocations: 1.831 MB / 0.6155 GB, free: 53.42 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002656/0.948, allocations: 2.924 MB / 0.6184 GB, free: 50.03 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005267/0.9533, allocations: 4.994 MB / 0.6232 GB, free: 44.55 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.962e-05/0.9533, allocations: 15.94 kB / 0.6233 GB, free: 44.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008583/0.9619, allocations: 6.103 MB / 0.6292 GB, free: 38.35 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.962, allocations: 19.98 kB / 0.6292 GB, free: 38.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.477e-05/0.962, allocations: 40.03 kB / 0.6293 GB, free: 38.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001823/0.9639, allocations: 0.8427 MB / 0.6301 GB, free: 37.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002986/0.9669, allocations: 0.8229 MB / 0.6309 GB, free: 36.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/0.9781, allocations: 16.27 MB / 0.6468 GB, free: 19.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003322/0.9815, allocations: 179.8 kB / 0.647 GB, free: 19.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006162/0.9821, allocations: 164 kB / 0.6471 GB, free: 19.03 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * Number of states: 0 () * Number of discrete variables: 8 (idealCloser3.control[3],idealCloser3.control[2],idealCloser3.control[1],idealCloserM.control[5],idealCloserM.control[4],idealCloserM.control[3],idealCloserM.control[2],idealCloserM.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (439): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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): 7 systems {(1,5,100.0%), (1,1,100.0%), (3,23,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (4,22,68.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003869/0.986, allocations: 2.597 MB / 0.6497 GB, free: 16.42 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008662/0.9869, allocations: 454.5 kB / 0.6501 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008338/0.9952, allocations: 5.666 MB / 0.6556 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.75e-05/0.9953, allocations: 11.95 kB / 0.6556 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.9953, allocations: 3.984 kB / 0.6556 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002149/0.9975, allocations: 0.9445 MB / 0.6566 GB, free: 9.207 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000699/0.9982, allocations: 83.91 kB / 0.6566 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00194/1, allocations: 163.5 kB / 0.6568 GB, free: 8.969 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005798/1.001, allocations: 357.9 kB / 0.6571 GB, free: 8.617 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01005/1.011, allocations: 5.741 MB / 0.6627 GB, free: 2.891 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008686/1.019, allocations: 6.448 MB / 0.669 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002687/1.022, allocations: 1.96 MB / 0.671 GB, free: 10.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0046/1.027, allocations: 3.025 MB / 0.6739 GB, free: 7.375 MB / 478.1 MB Notification: Performance of Backend: time 6.01e-07/1.027, allocations: 0 / 0.6739 GB, free: 7.375 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008399/1.035, allocations: 4.38 MB / 0.6782 GB, free: 2.891 MB / 478.1 MB Notification: Performance of SimCode: time 0.02696/1.062, allocations: 15.32 MB / 0.6931 GB, free: 3.543 MB / 494.1 MB Notification: Performance of Templates: time 0.312/1.374, allocations: 77.16 MB / 0.7685 GB, free: 180.6 MB / 0.5294 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe 2>&1)