Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001532/0.001532, allocations: 112.1 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.001818/0.001818, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.00115, allocations: 59.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2095, allocations: 50.55 MB / 410 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.02395/0.2335, allocations: 24.77 MB / 434.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01203/0.2456, allocations: 7.385 MB / 442.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00275/0.2483, allocations: 147.5 kB / 442.3 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003377/0.2517, allocations: 1.626 MB / 443.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004993/0.2568, allocations: 2.357 MB / 446.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002818/0.2596, allocations: 1.498 MB / 447.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007127/0.2667, allocations: 7.254 MB / 455 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005907/0.2727, allocations: 5.558 MB / 460.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004136/0.2768, allocations: 3.228 MB / 463.8 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004555/0.2814, allocations: 3.958 MB / 467.7 MB, free: 7.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009777/0.2824, allocations: 0.8711 MB / 468.6 MB, free: 6.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.2844, allocations: 1.3 MB / 469.9 MB, free: 5.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00164/0.286, allocations: 2.131 MB / 472 MB, free: 3.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00336/0.2894, allocations: 3.788 MB / 475.8 MB, free: 15.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009789/0.2992, allocations: 11.51 MB / 487.3 MB, free: 3.855 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.2992, allocations: 4 kB / 487.4 MB, free: 3.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2992, allocations: 0 / 487.4 MB, free: 3.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001135/0.2993, allocations: 0 / 487.4 MB, free: 3.852 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.01497/0.3143, allocations: 7.454 MB / 494.8 MB, free: 12.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3144, allocations: 12.03 kB / 494.8 MB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005967/0.3203, allocations: 1.25 MB / 496.1 MB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006913/0.3273, allocations: 4.173 MB / 0.4885 GB, free: 6.797 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002935/0.3276, allocations: 427.8 kB / 0.4889 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007883/0.3284, allocations: 0.5625 MB / 0.4895 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01154/0.3399, allocations: 7.28 MB / 0.4966 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/0.34, allocations: 15.89 kB / 0.4966 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005239/0.3406, allocations: 239.9 kB / 0.4968 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000245/0.3408, allocations: 259.3 kB / 0.4971 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.351, allocations: 6.123 MB / 0.5031 GB, free: 7.848 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03227/0.3832, allocations: 23.48 MB / 0.526 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008455/0.3917, allocations: 8.975 MB / 0.5348 GB, free: 5.738 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003951/0.3957, allocations: 2.48 MB / 0.5372 GB, free: 3.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1855/0.5812, allocations: 7.517 MB / 0.5445 GB, free: 117.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.5812, allocations: 62.34 kB / 0.5446 GB, free: 117.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 5.09e-06/0.5813, allocations: 0 / 0.5446 GB, free: 117.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=282): time 0.0282/0.6095, allocations: 13.83 MB / 0.5581 GB, free: 112.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.6095, allocations: 88.59 kB / 0.5582 GB, free: 112.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003725/0.6132, allocations: 3.449 MB / 0.5615 GB, free: 111.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001531/0.6134, allocations: 72.98 kB / 0.5616 GB, free: 111.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.6145, allocations: 2.689 MB / 0.5642 GB, free: 108.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004515/0.6149, allocations: 0.9642 MB / 0.5652 GB, free: 107.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007967/0.6157, allocations: 0.6369 MB / 0.5658 GB, free: 107.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.218e-05/0.6158, allocations: 305.1 kB / 0.5661 GB, free: 107 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/0.6179, allocations: 1.545 MB / 0.5676 GB, free: 105.4 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002513/0.6204, allocations: 2.755 MB / 0.5703 GB, free: 102.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004811/0.6253, allocations: 4.601 MB / 0.5748 GB, free: 96.97 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/0.6253, allocations: 15.94 kB / 0.5748 GB, free: 96.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.007357/0.6327, allocations: 5.49 MB / 0.5801 GB, free: 91.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.6327, allocations: 24 kB / 0.5802 GB, free: 91.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-05/0.6327, allocations: 39.98 kB / 0.5802 GB, free: 91.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/0.6341, allocations: 0.6791 MB / 0.5809 GB, free: 90.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002762/0.6369, allocations: 0.8502 MB / 0.5817 GB, free: 89.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007654/0.6445, allocations: 10.5 MB / 0.592 GB, free: 78.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/0.647, allocations: 223.6 kB / 0.5922 GB, free: 78.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000233/0.6472, allocations: 168 kB / 0.5923 GB, free: 78.35 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * 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 (427): * Single equations (assignments): 417 * Array equations: 4 * 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 {(3,12,100.0%), (1,6,100.0%), (2,13,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002071/0.6493, allocations: 1.632 MB / 0.5939 GB, free: 76.71 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005002/0.6498, allocations: 395.2 kB / 0.5943 GB, free: 76.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006426/0.6562, allocations: 4.526 MB / 0.5987 GB, free: 71.67 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/0.6563, allocations: 11.95 kB / 0.5987 GB, free: 71.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.6563, allocations: 4 kB / 0.5987 GB, free: 71.66 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.6573, allocations: 0.7695 MB / 0.5995 GB, free: 70.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004733/0.6578, allocations: 59.98 kB / 0.5995 GB, free: 70.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/0.6596, allocations: 167.8 kB / 0.5997 GB, free: 70.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003457/0.6599, allocations: 213.8 kB / 0.5999 GB, free: 70.43 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007722/0.6677, allocations: 4.333 MB / 0.6041 GB, free: 66.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006918/0.6746, allocations: 5.609 MB / 0.6096 GB, free: 60.4 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001917/0.6765, allocations: 1.61 MB / 0.6112 GB, free: 58.78 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002764/0.6793, allocations: 2.319 MB / 0.6135 GB, free: 56.48 MB / 462.1 MB Notification: Performance of Backend: time 3.01e-07/0.6793, allocations: 0 / 0.6135 GB, free: 56.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005894/0.6852, allocations: 3.662 MB / 0.617 GB, free: 52.76 MB / 462.1 MB Notification: Performance of SimCode: time 0.01235/0.6976, allocations: 10.56 MB / 0.6273 GB, free: 42.18 MB / 462.1 MB Notification: Performance of Templates: time 0.08032/0.7779, allocations: 59.38 MB / 0.6853 GB, free: 15.34 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1)