Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_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.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.stray.port_p.Phi.im|smee3.stator.stray.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.stray.port_p.Phi.im|smee3.stator.stray.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 107.9 kB / 17.74 MB, free: 5.336 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.001076/0.001076, allocations: 198.5 kB / 18.68 MB, free: 4.41 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.309/1.309, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009476/0.0009476, allocations: 47.94 kB / 352 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2205, allocations: 49.44 MB / 401.5 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase): time 0.02859/0.2492, allocations: 29.51 MB / 431 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01434/0.2635, allocations: 8.123 MB / 439.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003998/0.2676, allocations: 191.4 kB / 439.3 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004791/0.2724, allocations: 1.987 MB / 441.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007171/0.2796, allocations: 2.776 MB / 444.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003636/0.2832, allocations: 1.734 MB / 445.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01004/0.2933, allocations: 10.22 MB / 456 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009466/0.3028, allocations: 9.591 MB / 465.6 MB, free: 8.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005405/0.3082, allocations: 4.79 MB / 470.4 MB, free: 3.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006741/0.3149, allocations: 5.558 MB / 475.9 MB, free: 14.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001818/0.3168, allocations: 1.367 MB / 477.3 MB, free: 12.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002969/0.3198, allocations: 1.726 MB / 479 MB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002292/0.3221, allocations: 3.023 MB / 482.1 MB, free: 7.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005641/0.3277, allocations: 5.66 MB / 487.7 MB, free: 2.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01512/0.3428, allocations: 17.57 MB / 0.4934 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3429, allocations: 0 / 0.4934 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3429, allocations: 4 kB / 0.4935 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004239/0.3433, allocations: 0 / 0.4935 GB, free: 0.5703 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: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.0262/0.3695, allocations: 10.97 MB / 0.5042 GB, free: 5.496 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3696, allocations: 8.031 kB / 0.5042 GB, free: 5.488 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/0.3804, allocations: 2.07 MB / 0.5062 GB, free: 3.406 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/0.3925, allocations: 6.186 MB / 0.5122 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004393/0.3929, allocations: 0.6463 MB / 0.5129 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001409/0.3943, allocations: 0.8474 MB / 0.5137 GB, free: 11.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01968/0.414, allocations: 11.43 MB / 0.5249 GB, free: 140 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001462/0.4142, allocations: 11.91 kB / 0.5249 GB, free: 128 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008/0.415, allocations: 352 kB / 0.5252 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003139/0.4153, allocations: 385.5 kB / 0.5256 GB, free: 15.4 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01567/0.431, allocations: 9.661 MB / 0.535 GB, free: 5.727 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3791/0.8102, allocations: 35.23 MB / 0.5694 GB, free: 99.83 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/0.8219, allocations: 16.94 MB / 0.586 GB, free: 84.03 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004578/0.8265, allocations: 3.505 MB / 0.5894 GB, free: 81.4 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01321/0.8397, allocations: 9.727 MB / 0.5989 GB, free: 71.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.8398, allocations: 64.98 kB / 0.5989 GB, free: 71.49 MB / 462.1 MB Notification: Performance of pre-optimization done (n=310): time 4.238e-06/0.8398, allocations: 0 / 0.5989 GB, free: 71.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=362): time 0.02679/0.8666, allocations: 15.25 MB / 0.6138 GB, free: 56.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.8667, allocations: 90.23 kB / 0.6139 GB, free: 55.94 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004822/0.8715, allocations: 4.429 MB / 0.6182 GB, free: 51.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002102/0.8717, allocations: 81.7 kB / 0.6183 GB, free: 51.42 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001547/0.8733, allocations: 3.898 MB / 0.6221 GB, free: 47.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005976/0.8739, allocations: 1.23 MB / 0.6233 GB, free: 46.28 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009887/0.8749, allocations: 0.7885 MB / 0.6241 GB, free: 45.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.345e-05/0.8749, allocations: 305.1 kB / 0.6244 GB, free: 45.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002641/0.8776, allocations: 1.902 MB / 0.6262 GB, free: 43.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00309/0.8807, allocations: 3.363 MB / 0.6295 GB, free: 39.24 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006048/0.8867, allocations: 5.612 MB / 0.635 GB, free: 32.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.717e-05/0.8867, allocations: 12 kB / 0.635 GB, free: 32.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.009395/0.8961, allocations: 6.522 MB / 0.6414 GB, free: 26.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.8962, allocations: 24 kB / 0.6414 GB, free: 26.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.507e-05/0.8962, allocations: 48 kB / 0.6415 GB, free: 26.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001638/0.8979, allocations: 0.7169 MB / 0.6422 GB, free: 25.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00354/0.9014, allocations: 1.053 MB / 0.6432 GB, free: 24.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008657/0.9101, allocations: 10.97 MB / 0.6539 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003875/0.914, allocations: 239.6 kB / 0.6541 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003713/0.9144, allocations: 204 kB / 0.6543 GB, free: 12.55 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 208 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (534): * Single equations (assignments): 526 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * 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): 4 systems {(2,13,100.0%), (1,5,100.0%), (2,13,100.0%), (3,14,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003812/0.9182, allocations: 2.538 MB / 0.6568 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00098/0.9192, allocations: 486.2 kB / 0.6573 GB, free: 9.523 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00825/0.9275, allocations: 5.431 MB / 0.6626 GB, free: 4.004 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.917e-05/0.9275, allocations: 19.92 kB / 0.6626 GB, free: 3.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/0.9275, allocations: 4 kB / 0.6626 GB, free: 3.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001983/0.9295, allocations: 0.9597 MB / 0.6635 GB, free: 2.996 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006445/0.9302, allocations: 68 kB / 0.6636 GB, free: 2.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002218/0.9324, allocations: 187.8 kB / 0.6638 GB, free: 2.746 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004652/0.9329, allocations: 298.3 kB / 0.6641 GB, free: 2.453 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01067/0.9435, allocations: 5.354 MB / 0.6693 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0107/0.9543, allocations: 6.846 MB / 0.676 GB, free: 6.227 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002928/0.9572, allocations: 2.009 MB / 0.6779 GB, free: 4.207 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004423/0.9617, allocations: 2.997 MB / 0.6809 GB, free: 1.215 MB / 478.1 MB Notification: Performance of Backend: time 5.1e-07/0.9617, allocations: 0 / 0.6809 GB, free: 1.215 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00884/0.9705, allocations: 4.242 MB / 0.685 GB, free: 12.91 MB / 494.1 MB Notification: Performance of SimCode: time 0.0245/0.995, allocations: 14.93 MB / 0.6996 GB, free: 13.95 MB / 0.4982 GB Notification: Performance of Templates: time 0.372/1.367, allocations: 73.45 MB / 0.7713 GB, free: 178.4 MB / 0.5294 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe 2>&1)