Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.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.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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001068/0.001068, allocations: 112.1 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001127/0.001127, allocations: 210.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 63.89 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2223, allocations: 50.54 MB / 410 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase): time 0.02473/0.2471, allocations: 25.37 MB / 435.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.2595, allocations: 6.943 MB / 442.3 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003542/0.2631, allocations: 163.4 kB / 442.5 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004342/0.2674, allocations: 1.7 MB / 444.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006627/0.2741, allocations: 2.349 MB / 446.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003638/0.2777, allocations: 1.485 MB / 448 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01077/0.2885, allocations: 10.07 MB / 458.1 MB, free: 1.289 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009699/0.2983, allocations: 9.056 MB / 467.1 MB, free: 8.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005925/0.3042, allocations: 4.732 MB / 471.9 MB, free: 3.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007518/0.3117, allocations: 5.664 MB / 477.5 MB, free: 13.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00225/0.314, allocations: 1.305 MB / 478.8 MB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003281/0.3173, allocations: 1.527 MB / 480.4 MB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002643/0.32, allocations: 2.969 MB / 483.3 MB, free: 7.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00676/0.3267, allocations: 5.469 MB / 488.8 MB, free: 2.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01686/0.3436, allocations: 17.23 MB / 0.4942 GB, free: 1.102 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.3437, allocations: 4 kB / 0.4942 GB, free: 1.098 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3437, allocations: 0 / 0.4942 GB, free: 1.098 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003492/0.344, allocations: 0 / 0.4942 GB, free: 1.098 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.02628/0.3703, allocations: 10.97 MB / 0.5049 GB, free: 6.008 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3704, allocations: 12.02 kB / 0.5049 GB, free: 5.996 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/0.3818, allocations: 2.169 MB / 0.507 GB, free: 3.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/0.3925, allocations: 6.044 MB / 0.5129 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004419/0.3929, allocations: 0.5943 MB / 0.5135 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001548/0.3945, allocations: 0.7889 MB / 0.5143 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01871/0.4132, allocations: 11.33 MB / 0.5253 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001663/0.4134, allocations: 11.94 kB / 0.5253 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008004/0.4142, allocations: 332 kB / 0.5257 GB, free: 0.543 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002842/0.4145, allocations: 376.3 kB / 0.526 GB, free: 176 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01624/0.4307, allocations: 9.906 MB / 0.5357 GB, free: 6.242 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3821/0.8128, allocations: 34.33 MB / 0.5692 GB, free: 95.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01505/0.8279, allocations: 21.06 MB / 0.5898 GB, free: 75.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006428/0.8343, allocations: 4.448 MB / 0.5941 GB, free: 71.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01518/0.8495, allocations: 10.61 MB / 0.6045 GB, free: 60.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.8496, allocations: 69.08 kB / 0.6046 GB, free: 60.62 MB / 462.1 MB Notification: Performance of pre-optimization done (n=319): time 5.44e-06/0.8496, allocations: 0 / 0.6046 GB, free: 60.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=325): time 0.02952/0.8791, allocations: 15.89 MB / 0.6201 GB, free: 44.71 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.8792, allocations: 85.97 kB / 0.6202 GB, free: 44.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006507/0.8857, allocations: 4.595 MB / 0.6247 GB, free: 40.04 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000207/0.8859, allocations: 77.7 kB / 0.6247 GB, free: 39.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001701/0.8876, allocations: 3.707 MB / 0.6283 GB, free: 36.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006222/0.8883, allocations: 1.144 MB / 0.6295 GB, free: 35.63 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009939/0.8893, allocations: 0.7008 MB / 0.6301 GB, free: 34.92 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.8893, allocations: 305.1 kB / 0.6304 GB, free: 34.62 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002561/0.8919, allocations: 1.885 MB / 0.6323 GB, free: 32.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00289/0.8948, allocations: 2.983 MB / 0.6352 GB, free: 29.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005557/0.9004, allocations: 5.103 MB / 0.6402 GB, free: 23.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.236e-05/0.9004, allocations: 15.94 kB / 0.6402 GB, free: 23.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008878/0.9093, allocations: 6.442 MB / 0.6465 GB, free: 17.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.9093, allocations: 20 kB / 0.6465 GB, free: 17.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-05/0.9094, allocations: 32 kB / 0.6465 GB, free: 17.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00234/0.9117, allocations: 1.029 MB / 0.6475 GB, free: 16.06 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/0.9145, allocations: 0.8113 MB / 0.6483 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/0.9291, allocations: 17.9 MB / 0.6658 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003379/0.9325, allocations: 183.9 kB / 0.666 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005498/0.9331, allocations: 164 kB / 0.6661 GB, free: 12.04 MB / 478.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 (434): * Single equations (assignments): 425 * 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,8,100.0%), (1,1,100.0%), (3,23,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (4,24,93.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004552/0.9376, allocations: 2.609 MB / 0.6687 GB, free: 9.418 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/0.9388, allocations: 496.9 kB / 0.6692 GB, free: 8.93 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/0.9493, allocations: 6 MB / 0.675 GB, free: 2.812 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-05/0.9493, allocations: 11.95 kB / 0.675 GB, free: 2.801 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.9493, allocations: 0 / 0.675 GB, free: 2.801 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002051/0.9514, allocations: 0.9976 MB / 0.676 GB, free: 1.781 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009161/0.9523, allocations: 79.94 kB / 0.6761 GB, free: 1.703 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002278/0.9546, allocations: 160 kB / 0.6762 GB, free: 1.547 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006833/0.9553, allocations: 373.9 kB / 0.6766 GB, free: 1.18 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01176/0.9671, allocations: 5.952 MB / 0.6824 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009587/0.9767, allocations: 6.616 MB / 0.6889 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002721/0.9794, allocations: 1.991 MB / 0.6908 GB, free: 2.535 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005366/0.9848, allocations: 3.14 MB / 0.6939 GB, free: 15.4 MB / 0.4982 GB Notification: Performance of Backend: time 5.31e-07/0.9848, allocations: 0 / 0.6939 GB, free: 15.4 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.008817/0.9936, allocations: 4.488 MB / 0.6983 GB, free: 10.78 MB / 0.4982 GB Notification: Performance of SimCode: time 0.02567/1.019, allocations: 15.86 MB / 0.7138 GB, free: 10.86 MB / 0.5138 GB Notification: Performance of Templates: time 0.2951/1.314, allocations: 80.32 MB / 0.7922 GB, free: 143.8 MB / 0.5294 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe 2>&1)