Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001519/0.001519, allocations: 118.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001788/0.001788, allocations: 202.7 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.89 kB / 359.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2539, allocations: 50.53 MB / 410 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04077/0.2947, allocations: 41.77 MB / 451.8 MB, free: 7.574 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01996/0.3147, allocations: 11.4 MB / 463.2 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005837/0.3206, allocations: 299.1 kB / 463.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01765/0.3383, allocations: 7.947 MB / 471.4 MB, free: 3.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01016/0.3484, allocations: 3.658 MB / 475 MB, free: 208 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005715/0.3542, allocations: 2.318 MB / 477.4 MB, free: 13.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01363/0.3678, allocations: 12.55 MB / 489.9 MB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02823/0.3961, allocations: 23.52 MB / 0.5014 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007391/0.4035, allocations: 6.385 MB / 0.5076 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009009/0.4125, allocations: 7.272 MB / 0.5147 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002396/0.4149, allocations: 1.824 MB / 0.5165 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003746/0.4187, allocations: 2.257 MB / 0.5187 GB, free: 7.824 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002716/0.4214, allocations: 3.647 MB / 0.5223 GB, free: 4.168 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006769/0.4282, allocations: 7.093 MB / 0.5292 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.207/0.6352, allocations: 24.11 MB / 0.5528 GB, free: 53.95 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.6352, allocations: 2.938 kB / 0.5528 GB, free: 53.95 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.6353, allocations: 0.8438 kB / 0.5528 GB, free: 53.95 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000451/0.6357, allocations: 0 / 0.5528 GB, free: 53.95 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.03031/0.666, allocations: 14.51 MB / 0.5669 GB, free: 48.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.6661, allocations: 9.219 kB / 0.567 GB, free: 48.62 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0271/0.6932, allocations: 5.283 MB / 0.5721 GB, free: 46.55 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01212/0.7053, allocations: 7.752 MB / 0.5797 GB, free: 44.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004052/0.7058, allocations: 0.8317 MB / 0.5805 GB, free: 44.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001901/0.7077, allocations: 1.088 MB / 0.5816 GB, free: 43.76 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02432/0.732, allocations: 16.6 MB / 0.5978 GB, free: 30.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002347/0.7323, allocations: 15.31 kB / 0.5978 GB, free: 30.35 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001097/0.7334, allocations: 465.3 kB / 0.5982 GB, free: 29.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000364/0.7337, allocations: 0.5773 MB / 0.5988 GB, free: 29.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02261/0.7563, allocations: 14.75 MB / 0.6132 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07705/0.8334, allocations: 57.36 MB / 0.6692 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01918/0.8526, allocations: 21.16 MB / 0.6899 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004927/0.8576, allocations: 3.31 MB / 0.6931 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01526/0.8729, allocations: 9.97 MB / 0.7028 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/0.8729, allocations: 73.03 kB / 0.7029 GB, free: 14.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=313): time 4.669e-06/0.8729, allocations: 0 / 0.7029 GB, free: 14.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=340): time 0.03245/0.9054, allocations: 16.92 MB / 0.7194 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.9055, allocations: 112.4 kB / 0.7195 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007677/0.9132, allocations: 5.191 MB / 0.7246 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002181/0.9134, allocations: 83.78 kB / 0.7247 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003152/0.9166, allocations: 5.352 MB / 0.7299 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009237/0.9175, allocations: 1.255 MB / 0.7311 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001839/0.9193, allocations: 1.263 MB / 0.7324 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.689e-05/0.9194, allocations: 309.1 kB / 0.7327 GB, free: 304 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004152/0.9236, allocations: 2.632 MB / 0.7352 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005781/0.9294, allocations: 5.438 MB / 0.7405 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/0.9394, allocations: 8.497 MB / 0.7488 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-05/0.9395, allocations: 31.98 kB / 0.7489 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=816) (initialization): time 0.01467/0.9542, allocations: 9.246 MB / 0.7579 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.523e-05/0.9542, allocations: 48 kB / 0.7579 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001357/0.9544, allocations: 92 kB / 0.758 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002315/0.9567, allocations: 0.9168 MB / 0.7589 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004892/0.9616, allocations: 1.47 MB / 0.7604 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2058/1.167, allocations: 10.52 MB / 0.7706 GB, free: 225.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004897/1.172, allocations: 413.9 kB / 0.771 GB, free: 225.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004066/1.173, allocations: 340.7 kB / 0.7714 GB, free: 225.3 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.004768/1.178, allocations: 3.739 MB / 0.775 GB, free: 223.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007344/1.178, allocations: 0.5304 MB / 0.7755 GB, free: 223.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008617/1.187, allocations: 5.879 MB / 0.7813 GB, free: 221.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.981e-05/1.187, allocations: 19.31 kB / 0.7813 GB, free: 221.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/1.187, allocations: 4.719 kB / 0.7813 GB, free: 221.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/1.188, allocations: 0.9985 MB / 0.7823 GB, free: 220.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006004/1.189, allocations: 63.22 kB / 0.7823 GB, free: 220.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002143/1.191, allocations: 192.2 kB / 0.7825 GB, free: 220.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004592/1.192, allocations: 271.4 kB / 0.7828 GB, free: 220.7 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009235/1.201, allocations: 5.521 MB / 0.7882 GB, free: 218.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008559/1.209, allocations: 7.002 MB / 0.795 GB, free: 216 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002313/1.212, allocations: 2.058 MB / 0.797 GB, free: 215.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004213/1.216, allocations: 3.433 MB / 0.8004 GB, free: 214 MB / 0.5919 GB Notification: Performance of Backend: time 4.61e-07/1.216, allocations: 0 / 0.8004 GB, free: 214 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008526/1.225, allocations: 5.468 MB / 0.8057 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02231/1.247, allocations: 18.31 MB / 0.8236 GB, free: 194.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1232/1.37, allocations: 82.12 MB / 0.9038 GB, free: 114.5 MB / 0.5919 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1)