Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|constantSpeedQS.phi|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.stray.port_p.Phi.im|smee.stator.stray.port_p.Phi.re|smee.stator.zeroInductor.i0|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|constantSpeedQS.phi|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.stray.port_p.Phi.im|smee.stator.stray.port_p.Phi.re|smee.stator.zeroInductor.i0|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.001051/0.001051, allocations: 110.5 kB / 17.75 MB, free: 5.332 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.001064/0.001064, allocations: 187 kB / 18.68 MB, free: 4.406 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.297/1.297, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 51.91 kB / 352 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2156, allocations: 49.43 MB / 401.5 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04041/0.256, allocations: 41.12 MB / 442.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02137/0.2774, allocations: 11.11 MB / 453.7 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006041/0.2835, allocations: 299.1 kB / 454 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01756/0.3011, allocations: 7.936 MB / 461.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01068/0.3118, allocations: 3.67 MB / 465.6 MB, free: 8.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006061/0.3179, allocations: 2.281 MB / 467.9 MB, free: 6.199 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0145/0.3324, allocations: 12.45 MB / 480.3 MB, free: 9.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03275/0.3652, allocations: 23.51 MB / 0.492 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008461/0.3737, allocations: 6.377 MB / 0.4982 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009832/0.3835, allocations: 7.143 MB / 0.5052 GB, free: 4.449 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003801/0.3874, allocations: 1.832 MB / 0.507 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005429/0.3928, allocations: 2.238 MB / 0.5092 GB, free: 392 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00409/0.3969, allocations: 3.639 MB / 0.5127 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008126/0.4051, allocations: 7.093 MB / 0.5197 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3655/0.7705, allocations: 24.01 MB / 0.5431 GB, free: 53.83 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.7706, allocations: 0.5 kB / 0.5431 GB, free: 53.83 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.7706, allocations: 0.5312 kB / 0.5431 GB, free: 53.83 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005038/0.7711, allocations: 0 / 0.5431 GB, free: 53.83 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3043 * Number of variables: 3043 Notification: Performance of Generate backend data structure: time 0.0331/0.8042, allocations: 14.19 MB / 0.557 GB, free: 50.05 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.8043, allocations: 13.52 kB / 0.557 GB, free: 50.04 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02761/0.8319, allocations: 5.16 MB / 0.562 GB, free: 49.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01367/0.8456, allocations: 7.693 MB / 0.5695 GB, free: 48.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004595/0.8461, allocations: 0.8334 MB / 0.5704 GB, free: 48.22 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002007/0.8481, allocations: 1.09 MB / 0.5714 GB, free: 48.21 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02504/0.8731, allocations: 16.59 MB / 0.5876 GB, free: 38.38 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000201/0.8733, allocations: 19.45 kB / 0.5876 GB, free: 38.36 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001115/0.8745, allocations: 465.3 kB / 0.5881 GB, free: 37.92 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003534/0.8748, allocations: 0.5773 MB / 0.5886 GB, free: 37.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02029/0.8951, allocations: 14.75 MB / 0.6031 GB, free: 22.58 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06891/0.9641, allocations: 55.58 MB / 0.6573 GB, free: 14.3 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01997/0.9841, allocations: 20.83 MB / 0.6777 GB, free: 6.898 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00538/0.9895, allocations: 3.291 MB / 0.6809 GB, free: 3.605 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01622/1.006, allocations: 9.431 MB / 0.6901 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.292e-05/1.006, allocations: 69.56 kB / 0.6902 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=313): time 4.919e-06/1.006, allocations: 0 / 0.6902 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=340): time 0.03332/1.039, allocations: 16.65 MB / 0.7064 GB, free: 9.273 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/1.039, allocations: 112.4 kB / 0.7065 GB, free: 9.148 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007291/1.047, allocations: 5.163 MB / 0.7116 GB, free: 3.996 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004301/1.047, allocations: 77.7 kB / 0.7116 GB, free: 3.914 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003096/1.05, allocations: 5.156 MB / 0.7167 GB, free: 14.73 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001128/1.051, allocations: 1.196 MB / 0.7179 GB, free: 13.54 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001808/1.053, allocations: 1.258 MB / 0.7191 GB, free: 12.27 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 8.851e-05/1.053, allocations: 309.1 kB / 0.7194 GB, free: 11.96 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004168/1.057, allocations: 2.628 MB / 0.7219 GB, free: 9.332 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005623/1.063, allocations: 5.437 MB / 0.7272 GB, free: 2.609 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009999/1.073, allocations: 8.503 MB / 0.7356 GB, free: 9.172 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.825e-05/1.073, allocations: 24 kB / 0.7356 GB, free: 9.148 MB / 0.5763 GB Notification: Performance of matching and sorting (n=816) (initialization): time 0.01457/1.088, allocations: 9.219 MB / 0.7446 GB, free: 492 kB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 5.62e-05/1.088, allocations: 44 kB / 0.7446 GB, free: 448 kB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.879e-05/1.088, allocations: 96 kB / 0.7447 GB, free: 352 kB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00237/1.09, allocations: 0.9061 MB / 0.7456 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004959/1.095, allocations: 1.478 MB / 0.747 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01261/1.108, allocations: 10.53 MB / 0.7573 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004788/1.112, allocations: 411 kB / 0.7577 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005215/1.113, allocations: 336 kB / 0.758 GB, free: 2.473 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 431 * 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 (767): * Single equations (assignments): 762 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 3 systems {(8,26,67.2%), (2,8,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.1956/1.309, allocations: 3.739 MB / 0.7617 GB, free: 236.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001329/1.31, allocations: 0.5037 MB / 0.7622 GB, free: 236.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/1.321, allocations: 5.871 MB / 0.7679 GB, free: 235.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.25e-05/1.321, allocations: 18.7 kB / 0.7679 GB, free: 235.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/1.321, allocations: 0.5938 kB / 0.7679 GB, free: 235.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002433/1.323, allocations: 0.9777 MB / 0.7689 GB, free: 235.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00117/1.324, allocations: 56.88 kB / 0.7689 GB, free: 235.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002861/1.327, allocations: 198.5 kB / 0.7691 GB, free: 235.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004992/1.328, allocations: 265.8 kB / 0.7694 GB, free: 235.2 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009706/1.337, allocations: 5.5 MB / 0.7748 GB, free: 233.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008927/1.346, allocations: 6.972 MB / 0.7816 GB, free: 230.5 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002459/1.349, allocations: 2.057 MB / 0.7836 GB, free: 229.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004745/1.354, allocations: 3.422 MB / 0.7869 GB, free: 228.4 MB / 0.5919 GB Notification: Performance of Backend: time 8.11e-07/1.354, allocations: 0 / 0.7869 GB, free: 228.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01007/1.364, allocations: 5.459 MB / 0.7922 GB, free: 226.1 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02925/1.393, allocations: 17.96 MB / 0.8098 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.1139/1.507, allocations: 81.74 MB / 0.8896 GB, free: 133.6 MB / 0.5919 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1)