Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource.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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|currentController.PI_d.x|currentController.PI_q.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|currentController.PI_d.x|currentController.PI_q.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 112.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001308/0.001308, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2127, allocations: 50.54 MB / 410 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource): time 0.01678/0.2295, allocations: 16.51 MB / 426.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008563/0.2381, allocations: 5.618 MB / 432.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.2397, allocations: 111.6 kB / 432.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002277/0.242, allocations: 1.133 MB / 433.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002698/0.2447, allocations: 1.324 MB / 434.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.2465, allocations: 0.9931 MB / 435.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003495/0.25, allocations: 3.992 MB / 439.6 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003617/0.2536, allocations: 3.611 MB / 443.3 MB, free: 116 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002134/0.2558, allocations: 1.912 MB / 445.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002834/0.2586, allocations: 2.343 MB / 447.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007508/0.2594, allocations: 0.5195 MB / 448 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.2607, allocations: 0.7652 MB / 448.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.2618, allocations: 1.282 MB / 450.1 MB, free: 9.273 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002034/0.2639, allocations: 2.259 MB / 452.3 MB, free: 7.004 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00601/0.2699, allocations: 6.937 MB / 459.3 MB, free: 48 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2699, allocations: 4 kB / 459.3 MB, free: 44 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2699, allocations: 0 / 459.3 MB, free: 44 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.951e-05/0.27, allocations: 0 / 459.3 MB, free: 44 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.009071/0.2791, allocations: 4.692 MB / 464 MB, free: 11.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2791, allocations: 15.97 kB / 464 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00293/0.282, allocations: 0.6753 MB / 464.7 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004307/0.2864, allocations: 2.533 MB / 467.2 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.2866, allocations: 271.3 kB / 467.5 MB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004736/0.287, allocations: 348 kB / 467.8 MB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006563/0.2936, allocations: 4.464 MB / 472.3 MB, free: 2.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.526e-05/0.2937, allocations: 11.91 kB / 472.3 MB, free: 2.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003096/0.294, allocations: 139.9 kB / 472.4 MB, free: 2.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/0.2942, allocations: 166.8 kB / 472.6 MB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005857/0.3, allocations: 3.751 MB / 476.3 MB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01894/0.319, allocations: 14.48 MB / 490.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005071/0.3241, allocations: 5.61 MB / 496.4 MB, free: 9.508 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002925/0.327, allocations: 1.685 MB / 498.1 MB, free: 7.824 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006181/0.3332, allocations: 4.218 MB / 0.4905 GB, free: 3.465 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.3333, allocations: 47.81 kB / 0.4906 GB, free: 3.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=128): time 2.595e-06/0.3333, allocations: 0 / 0.4906 GB, free: 3.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=132): time 0.009244/0.3425, allocations: 5.659 MB / 0.4961 GB, free: 13.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.3426, allocations: 64.72 kB / 0.4962 GB, free: 13.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/0.3453, allocations: 2.122 MB / 0.4982 GB, free: 11.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.209e-05/0.3454, allocations: 49.7 kB / 0.4983 GB, free: 11.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.3465, allocations: 1.661 MB / 0.4999 GB, free: 9.613 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000353/0.3469, allocations: 473.3 kB / 0.5004 GB, free: 9.145 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004798/0.3473, allocations: 331.2 kB / 0.5007 GB, free: 8.812 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.295e-05/0.3474, allocations: 301.1 kB / 0.501 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.3486, allocations: 0.734 MB / 0.5017 GB, free: 7.781 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.3501, allocations: 1.36 MB / 0.503 GB, free: 6.133 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002787/0.3529, allocations: 2.25 MB / 0.5052 GB, free: 3.602 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.407e-06/0.3529, allocations: 8 kB / 0.5052 GB, free: 3.594 MB / 430.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.003882/0.3568, allocations: 2.604 MB / 0.5078 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.3568, allocations: 16.03 kB / 0.5078 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.3569, allocations: 24 kB / 0.5078 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004745/0.3573, allocations: 190.3 kB / 0.508 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.359, allocations: 459.3 kB / 0.5084 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003155/0.3622, allocations: 3.778 MB / 0.5121 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.3635, allocations: 115.7 kB / 0.5122 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.3636, allocations: 83.98 kB / 0.5123 GB, free: 12.01 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * 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 (224): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001449/0.3651, allocations: 1.051 MB / 0.5133 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003085/0.3654, allocations: 221.3 kB / 0.5135 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003585/0.369, allocations: 2.264 MB / 0.5157 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-05/0.369, allocations: 11.97 kB / 0.5158 GB, free: 8.398 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.369, allocations: 0 / 0.5158 GB, free: 8.398 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000805/0.3698, allocations: 454.3 kB / 0.5162 GB, free: 7.934 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/0.3701, allocations: 27.94 kB / 0.5162 GB, free: 7.906 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000947/0.371, allocations: 79.91 kB / 0.5163 GB, free: 7.828 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.3712, allocations: 105.1 kB / 0.5164 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003881/0.3751, allocations: 2.039 MB / 0.5184 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003487/0.3786, allocations: 2.691 MB / 0.521 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009595/0.3795, allocations: 0.7325 MB / 0.5217 GB, free: 2.227 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001915/0.3815, allocations: 1.439 MB / 0.5231 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of Backend: time 3.91e-07/0.3815, allocations: 0 / 0.5231 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003245/0.3847, allocations: 1.758 MB / 0.5249 GB, free: 14.96 MB / 462.1 MB Notification: Performance of SimCode: time 0.009233/0.394, allocations: 6.513 MB / 0.5312 GB, free: 8.395 MB / 462.1 MB Notification: Performance of Templates: time 0.213/0.607, allocations: 34.15 MB / 0.5646 GB, free: 109.8 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource.pipe 2>&1)