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.001078/0.001078, allocations: 110.9 kB / 17.74 MB, free: 5.328 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.001027/0.001027, allocations: 190.6 kB / 18.68 MB, free: 4.398 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.291/1.291, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009929/0.0009929, allocations: 43.94 kB / 352 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2097, allocations: 49.43 MB / 401.5 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.02344/0.2332, allocations: 24.12 MB / 425.6 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.245, allocations: 7.12 MB / 432.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002028/0.247, allocations: 143.5 kB / 432.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003115/0.2501, allocations: 1.611 MB / 434.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004646/0.2548, allocations: 2.383 MB / 436.8 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.2575, allocations: 1.44 MB / 438.3 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006449/0.264, allocations: 7.194 MB / 445.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005741/0.2697, allocations: 5.554 MB / 451 MB, free: 7.039 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003415/0.2732, allocations: 3.212 MB / 454.2 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004117/0.2773, allocations: 3.833 MB / 458.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001045/0.2784, allocations: 0.8711 MB / 458.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002119/0.2805, allocations: 1.3 MB / 460.2 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001694/0.2822, allocations: 2.135 MB / 462.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003324/0.2855, allocations: 3.773 MB / 466.1 MB, free: 7.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.2956, allocations: 11.51 MB / 477.6 MB, free: 12.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2956, allocations: 0 / 477.6 MB, free: 12.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2956, allocations: 4 kB / 477.7 MB, free: 12.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000128/0.2957, allocations: 0 / 477.7 MB, free: 12.31 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.01474/0.3105, allocations: 7.579 MB / 485.2 MB, free: 4.641 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3105, allocations: 8.031 kB / 485.2 MB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00575/0.3163, allocations: 1.258 MB / 486.5 MB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007298/0.3236, allocations: 4.16 MB / 490.7 MB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002993/0.3239, allocations: 427.7 kB / 491.1 MB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008253/0.3247, allocations: 0.5586 MB / 491.6 MB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0116/0.3363, allocations: 7.284 MB / 498.9 MB, free: 6.824 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001277/0.3365, allocations: 11.95 kB / 498.9 MB, free: 6.812 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005036/0.337, allocations: 232 kB / 499.2 MB, free: 6.586 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002433/0.3372, allocations: 263.3 kB / 499.4 MB, free: 6.328 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/0.3476, allocations: 6.123 MB / 0.4937 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03303/0.3807, allocations: 23.46 MB / 0.5166 GB, free: 8.105 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008124/0.3888, allocations: 8.723 MB / 0.5251 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003708/0.3925, allocations: 2.359 MB / 0.5274 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.4038, allocations: 6.931 MB / 0.5342 GB, free: 4.918 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.4039, allocations: 60.56 kB / 0.5342 GB, free: 4.848 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 3.997e-06/0.4039, allocations: 0 / 0.5342 GB, free: 4.848 MB / 462.1 MB Notification: Performance of matching and sorting (n=282): time 0.206/0.6099, allocations: 13.78 MB / 0.5477 GB, free: 123.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.6099, allocations: 92.12 kB / 0.5478 GB, free: 123.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003933/0.6139, allocations: 3.42 MB / 0.5511 GB, free: 122 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001525/0.614, allocations: 72.77 kB / 0.5512 GB, free: 121.9 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001163/0.6152, allocations: 2.756 MB / 0.5539 GB, free: 120.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004884/0.6157, allocations: 1.009 MB / 0.5549 GB, free: 119.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007987/0.6165, allocations: 0.642 MB / 0.5555 GB, free: 119.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.169e-05/0.6165, allocations: 308.3 kB / 0.5558 GB, free: 118.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002182/0.6187, allocations: 1.546 MB / 0.5573 GB, free: 118.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002515/0.6212, allocations: 2.76 MB / 0.56 GB, free: 116.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004855/0.6261, allocations: 4.591 MB / 0.5645 GB, free: 113.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/0.6261, allocations: 11.34 kB / 0.5645 GB, free: 113.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.007337/0.6335, allocations: 5.501 MB / 0.5699 GB, free: 108 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.6335, allocations: 20 kB / 0.5699 GB, free: 108 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/0.6336, allocations: 40 kB / 0.5699 GB, free: 108 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/0.6349, allocations: 0.6622 MB / 0.5706 GB, free: 107.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002845/0.6378, allocations: 0.8541 MB / 0.5714 GB, free: 106.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007507/0.6453, allocations: 10.33 MB / 0.5815 GB, free: 95.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/0.6477, allocations: 227.8 kB / 0.5817 GB, free: 95.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000223/0.648, allocations: 168 kB / 0.5819 GB, free: 95.19 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.002071/0.65, allocations: 1.618 MB / 0.5835 GB, free: 93.56 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000495/0.6505, allocations: 413.4 kB / 0.5838 GB, free: 93.15 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006232/0.6568, allocations: 4.502 MB / 0.5882 GB, free: 88.54 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.207e-05/0.6568, allocations: 19.89 kB / 0.5883 GB, free: 88.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.6568, allocations: 3 kB / 0.5883 GB, free: 88.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/0.6579, allocations: 0.7795 MB / 0.589 GB, free: 87.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004649/0.6583, allocations: 56 kB / 0.5891 GB, free: 87.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/0.6601, allocations: 171.8 kB / 0.5892 GB, free: 87.49 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003469/0.6604, allocations: 205.9 kB / 0.5894 GB, free: 87.29 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00757/0.668, allocations: 4.327 MB / 0.5937 GB, free: 82.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006888/0.6749, allocations: 5.661 MB / 0.5992 GB, free: 77.21 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001896/0.6768, allocations: 1.629 MB / 0.6008 GB, free: 75.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002512/0.6793, allocations: 2.298 MB / 0.603 GB, free: 73.29 MB / 462.1 MB Notification: Performance of Backend: time 2.9e-07/0.6793, allocations: 0 / 0.603 GB, free: 73.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005447/0.6848, allocations: 3.644 MB / 0.6066 GB, free: 69.58 MB / 462.1 MB Notification: Performance of SimCode: time 0.012/0.6968, allocations: 10.67 MB / 0.617 GB, free: 58.87 MB / 462.1 MB Notification: Performance of Templates: time 0.07806/0.7749, allocations: 58.99 MB / 0.6746 GB, free: 500 kB / 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)