Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 111 kB / 17.75 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.001033/0.001033, allocations: 190.4 kB / 18.67 MB, free: 4.422 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.31/1.31, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009811/0.0009811, allocations: 51.92 kB / 352 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2186, allocations: 49.43 MB / 401.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.02381/0.2424, allocations: 24.12 MB / 425.6 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.2546, allocations: 7.124 MB / 432.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003197/0.2579, allocations: 143.5 kB / 432.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004045/0.2619, allocations: 1.611 MB / 434.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006279/0.2682, allocations: 2.372 MB / 436.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003414/0.2717, allocations: 1.446 MB / 438.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007952/0.2796, allocations: 7.198 MB / 445.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007143/0.2868, allocations: 5.554 MB / 451 MB, free: 7.195 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00395/0.2908, allocations: 3.212 MB / 454.2 MB, free: 3.973 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005337/0.2961, allocations: 3.83 MB / 458.1 MB, free: 132 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001813/0.2979, allocations: 0.875 MB / 458.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00311/0.3011, allocations: 1.3 MB / 460.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002394/0.3035, allocations: 2.135 MB / 462.4 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00385/0.3073, allocations: 3.781 MB / 466.1 MB, free: 8.016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009541/0.3169, allocations: 11.47 MB / 477.6 MB, free: 12.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3169, allocations: 0 / 477.6 MB, free: 12.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3169, allocations: 0 / 477.6 MB, free: 12.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001506/0.3171, allocations: 0 / 477.6 MB, free: 12.51 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.0156/0.3327, allocations: 7.423 MB / 485 MB, free: 5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3327, allocations: 8.031 kB / 485 MB, free: 4.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005693/0.3384, allocations: 1.215 MB / 486.3 MB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007625/0.3461, allocations: 4.129 MB / 490.4 MB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002709/0.3463, allocations: 431.7 kB / 490.8 MB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007745/0.3471, allocations: 0.5585 MB / 491.4 MB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01198/0.3591, allocations: 7.284 MB / 498.7 MB, free: 7.246 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.3592, allocations: 7.906 kB / 498.7 MB, free: 7.238 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005331/0.3598, allocations: 236 kB / 498.9 MB, free: 7.008 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002417/0.36, allocations: 263.3 kB / 499.2 MB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.3703, allocations: 6.123 MB / 0.4934 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03549/0.4058, allocations: 23.4 MB / 0.5163 GB, free: 8.574 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008321/0.4142, allocations: 8.704 MB / 0.5248 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003785/0.418, allocations: 2.367 MB / 0.5271 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01253/0.4306, allocations: 6.93 MB / 0.5339 GB, free: 5.398 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.4306, allocations: 56.56 kB / 0.5339 GB, free: 5.332 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 4.539e-06/0.4306, allocations: 0 / 0.5339 GB, free: 5.332 MB / 462.1 MB Notification: Performance of matching and sorting (n=282): time 0.2004/0.6311, allocations: 13.69 MB / 0.5473 GB, free: 123.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.6311, allocations: 77.22 kB / 0.5474 GB, free: 123.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003795/0.6349, allocations: 3.421 MB / 0.5507 GB, free: 122.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001676/0.6351, allocations: 71.86 kB / 0.5508 GB, free: 122.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001173/0.6363, allocations: 2.68 MB / 0.5534 GB, free: 120.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004654/0.6368, allocations: 0.9648 MB / 0.5543 GB, free: 119.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007868/0.6375, allocations: 0.644 MB / 0.555 GB, free: 119 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 2.934e-05/0.6376, allocations: 301.1 kB / 0.5552 GB, free: 118.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002158/0.6397, allocations: 1.547 MB / 0.5568 GB, free: 118.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002533/0.6423, allocations: 2.756 MB / 0.5594 GB, free: 116.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004846/0.6471, allocations: 4.596 MB / 0.5639 GB, free: 113 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/0.6472, allocations: 11.22 kB / 0.5639 GB, free: 113 MB / 462.1 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.007558/0.6547, allocations: 5.472 MB / 0.5693 GB, free: 108.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.6548, allocations: 24.12 kB / 0.5693 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.043e-05/0.6548, allocations: 40 kB / 0.5694 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.6562, allocations: 0.6596 MB / 0.57 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00283/0.659, allocations: 0.858 MB / 0.5708 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007587/0.6666, allocations: 10.33 MB / 0.5809 GB, free: 95.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002975/0.6696, allocations: 231.6 kB / 0.5811 GB, free: 95.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002641/0.6699, allocations: 171.3 kB / 0.5813 GB, free: 95.51 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 (430): * Single equations (assignments): 420 * 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,3,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.002257/0.6721, allocations: 1.613 MB / 0.5829 GB, free: 93.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006661/0.6728, allocations: 387.3 kB / 0.5833 GB, free: 93.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006437/0.6792, allocations: 4.497 MB / 0.5876 GB, free: 88.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.306e-05/0.6793, allocations: 15.95 kB / 0.5877 GB, free: 88.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.6793, allocations: 3.938 kB / 0.5877 GB, free: 88.87 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/0.6808, allocations: 0.7698 MB / 0.5884 GB, free: 88.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004802/0.6813, allocations: 52 kB / 0.5885 GB, free: 88.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/0.6831, allocations: 175.8 kB / 0.5886 GB, free: 87.85 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003522/0.6835, allocations: 213.8 kB / 0.5888 GB, free: 87.64 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007802/0.6913, allocations: 4.329 MB / 0.5931 GB, free: 83.31 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00714/0.6984, allocations: 5.633 MB / 0.5986 GB, free: 77.6 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001912/0.7004, allocations: 1.622 MB / 0.6001 GB, free: 75.96 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002758/0.7031, allocations: 2.298 MB / 0.6024 GB, free: 73.68 MB / 462.1 MB Notification: Performance of Backend: time 2.51e-07/0.7031, allocations: 0 / 0.6024 GB, free: 73.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006046/0.7092, allocations: 3.638 MB / 0.6059 GB, free: 70 MB / 462.1 MB Notification: Performance of SimCode: time 0.01261/0.7218, allocations: 10.48 MB / 0.6162 GB, free: 59.5 MB / 462.1 MB Notification: Performance of Templates: time 0.07914/0.801, allocations: 58.99 MB / 0.6738 GB, free: 1.117 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1)