Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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|Ptr|Pqs|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.strayReluctance.port_p.Phi.im|smee.stator.strayReluctance.port_p.Phi.re|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_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|Ptr|Pqs|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.strayReluctance.port_p.Phi.im|smee.stator.strayReluctance.port_p.Phi.re|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_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.001043/0.001043, allocations: 106.3 kB / 18.4 MB, free: 4.66 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.001061/0.001061, allocations: 188.3 kB / 19.33 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 47.92 kB / 329.3 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07321/0.07434, allocations: 46.61 MB / 375.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.19/0.2643, allocations: 41.27 MB / 417.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02328/0.2876, allocations: 11.08 MB / 428.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007413/0.2951, allocations: 255.2 kB / 428.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01738/0.3125, allocations: 7.907 MB / 436.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01109/0.3236, allocations: 3.644 MB / 440 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005976/0.3296, allocations: 2.306 MB / 442.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01473/0.3444, allocations: 12.65 MB / 455 MB, free: 352 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03261/0.377, allocations: 23.55 MB / 478.5 MB, free: 8.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009128/0.3862, allocations: 6.432 MB / 485 MB, free: 2.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01089/0.3971, allocations: 7.275 MB / 492.2 MB, free: 10.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00454/0.4016, allocations: 1.844 MB / 494.1 MB, free: 9.035 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006126/0.4078, allocations: 2.257 MB / 496.3 MB, free: 6.777 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004735/0.4125, allocations: 3.717 MB / 0.4883 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01079/0.4234, allocations: 7.19 MB / 0.4953 GB, free: 11.83 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02372/0.4471, allocations: 24.18 MB / 0.519 GB, free: 3.582 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4471, allocations: 0 / 0.519 GB, free: 3.582 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4472, allocations: 0 / 0.519 GB, free: 3.582 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004801/0.4476, allocations: 0 / 0.519 GB, free: 3.582 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.03682/0.4845, allocations: 14.44 MB / 0.5331 GB, free: 5.027 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.4845, allocations: 8.031 kB / 0.5331 GB, free: 5.02 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03377/0.5183, allocations: 6.17 MB / 0.5391 GB, free: 14.83 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01425/0.5326, allocations: 7.087 MB / 0.546 GB, free: 7.664 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007233/0.5333, allocations: 0.839 MB / 0.5468 GB, free: 6.824 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002929/0.5363, allocations: 1.113 MB / 0.5479 GB, free: 5.711 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3281/0.8643, allocations: 17.16 MB / 0.5647 GB, free: 131.9 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002665/0.8646, allocations: 17.77 kB / 0.5647 GB, free: 131.9 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001257/0.8659, allocations: 469.6 kB / 0.5651 GB, free: 131.6 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005557/0.8665, allocations: 0.6149 MB / 0.5657 GB, free: 131.5 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02611/0.8926, allocations: 15.57 MB / 0.5809 GB, free: 125.7 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06656/0.9592, allocations: 57.87 MB / 0.6375 GB, free: 73.61 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0148/0.974, allocations: 20.88 MB / 0.6579 GB, free: 50.16 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004236/0.9783, allocations: 3.315 MB / 0.6611 GB, free: 46.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01304/0.9913, allocations: 9.527 MB / 0.6704 GB, free: 37.27 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.9914, allocations: 65.56 kB / 0.6705 GB, free: 37.19 MB / 478.1 MB Notification: Performance of pre-optimization done (n=313): time 4.578e-06/0.9914, allocations: 3.938 kB / 0.6705 GB, free: 37.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=340): time 0.02814/1.02, allocations: 16.79 MB / 0.6869 GB, free: 20.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/1.02, allocations: 120.3 kB / 0.687 GB, free: 20.06 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006077/1.026, allocations: 5.408 MB / 0.6922 GB, free: 14.67 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004087/1.026, allocations: 77.7 kB / 0.6923 GB, free: 14.59 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001956/1.028, allocations: 5.345 MB / 0.6975 GB, free: 9.219 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007476/1.029, allocations: 1.208 MB / 0.6987 GB, free: 8.023 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001545/1.03, allocations: 1.345 MB / 0.7 GB, free: 6.668 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.386e-05/1.03, allocations: 305.1 kB / 0.7003 GB, free: 6.367 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003445/1.034, allocations: 2.746 MB / 0.703 GB, free: 3.617 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005069/1.039, allocations: 5.799 MB / 0.7087 GB, free: 12.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/1.05, allocations: 8.962 MB / 0.7174 GB, free: 1.926 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.736e-05/1.05, allocations: 28 kB / 0.7174 GB, free: 1.898 MB / 494.1 MB Notification: Performance of matching and sorting (n=867) (initialization): time 0.0166/1.066, allocations: 9.679 MB / 0.7269 GB, free: 8.137 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 7.039e-05/1.066, allocations: 48 kB / 0.7269 GB, free: 8.09 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001357/1.067, allocations: 104 kB / 0.727 GB, free: 7.988 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002433/1.069, allocations: 0.9283 MB / 0.728 GB, free: 7.047 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005647/1.075, allocations: 1.575 MB / 0.7295 GB, free: 5.469 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01294/1.088, allocations: 10.53 MB / 0.7398 GB, free: 10.54 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005576/1.093, allocations: 431.2 kB / 0.7402 GB, free: 10.12 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006674/1.094, allocations: 363.9 kB / 0.7405 GB, free: 9.762 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * 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 (818): * Single equations (assignments): 813 * 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.00578/1.1, allocations: 3.825 MB / 0.7443 GB, free: 5.922 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/1.101, allocations: 0.5287 MB / 0.7448 GB, free: 5.387 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1926/1.293, allocations: 5.884 MB / 0.7505 GB, free: 162.8 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001013/1.294, allocations: 17.06 kB / 0.7505 GB, free: 162.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/1.294, allocations: 4.719 kB / 0.7505 GB, free: 162.8 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002354/1.296, allocations: 0.9887 MB / 0.7515 GB, free: 162.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000679/1.297, allocations: 60.55 kB / 0.7516 GB, free: 162.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002358/1.299, allocations: 198.3 kB / 0.7518 GB, free: 162.7 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005218/1.299, allocations: 265.5 kB / 0.752 GB, free: 162.7 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01025/1.31, allocations: 5.514 MB / 0.7574 GB, free: 162.2 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01004/1.32, allocations: 7 MB / 0.7642 GB, free: 159.5 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002759/1.323, allocations: 2.054 MB / 0.7662 GB, free: 158.7 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00557/1.328, allocations: 3.572 MB / 0.7697 GB, free: 157.4 MB / 0.5138 GB Notification: Performance of Backend: time 5.92e-07/1.328, allocations: 0 / 0.7697 GB, free: 157.4 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0104/1.339, allocations: 5.677 MB / 0.7753 GB, free: 155 MB / 0.5138 GB Notification: Performance of SimCode: time 0.0259/1.365, allocations: 18.29 MB / 0.7931 GB, free: 146.8 MB / 0.5138 GB Notification: Performance of Templates: time 0.1141/1.479, allocations: 80.97 MB / 0.8722 GB, free: 75.64 MB / 0.5138 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1)