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.001515/0.001515, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001803/0.001803, allocations: 210.7 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.338/1.338, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1993, allocations: 50.55 MB / 410 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource): time 0.01684/0.2162, allocations: 16.51 MB / 426.5 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008782/0.225, allocations: 5.615 MB / 432.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.2263, allocations: 111.6 kB / 432.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002303/0.2286, allocations: 1.196 MB / 433.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.2313, allocations: 1.375 MB / 434.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.2331, allocations: 0.993 MB / 435.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003418/0.2365, allocations: 3.989 MB / 439.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003657/0.2402, allocations: 3.619 MB / 443.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.2421, allocations: 1.904 MB / 445.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002491/0.2446, allocations: 2.347 MB / 447.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006089/0.2452, allocations: 0.5234 MB / 448.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.2464, allocations: 0.7653 MB / 448.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.2475, allocations: 1.278 MB / 450.2 MB, free: 9.109 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001899/0.2494, allocations: 2.263 MB / 452.4 MB, free: 6.836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00558/0.255, allocations: 6.936 MB / 459.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.255, allocations: 0 / 459.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.255, allocations: 4 kB / 459.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.62e-05/0.2551, allocations: 0 / 459.4 MB, free: 15.88 MB / 382.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.009275/0.2644, allocations: 4.687 MB / 464.1 MB, free: 11.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2644, allocations: 8.031 kB / 464.1 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00306/0.2675, allocations: 0.6792 MB / 464.8 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004171/0.2716, allocations: 2.545 MB / 467.3 MB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.2718, allocations: 267.3 kB / 467.6 MB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004823/0.2723, allocations: 344.1 kB / 467.9 MB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006904/0.2792, allocations: 4.468 MB / 472.4 MB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-05/0.2793, allocations: 11.89 kB / 472.4 MB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000323/0.2797, allocations: 140 kB / 472.5 MB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000147/0.2798, allocations: 158.8 kB / 472.7 MB, free: 2.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005971/0.2858, allocations: 3.755 MB / 476.4 MB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01945/0.3053, allocations: 14.48 MB / 490.9 MB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005248/0.3105, allocations: 5.617 MB / 496.5 MB, free: 9.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003194/0.3137, allocations: 1.689 MB / 498.2 MB, free: 7.652 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006607/0.3203, allocations: 4.21 MB / 0.4906 GB, free: 3.301 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.3204, allocations: 51.8 kB / 0.4907 GB, free: 3.242 MB / 414.1 MB Notification: Performance of pre-optimization done (n=128): time 2.675e-06/0.3204, allocations: 0 / 0.4907 GB, free: 3.242 MB / 414.1 MB Notification: Performance of matching and sorting (n=132): time 0.009352/0.3298, allocations: 5.659 MB / 0.4962 GB, free: 13.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.3298, allocations: 64.72 kB / 0.4963 GB, free: 13.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/0.3325, allocations: 2.122 MB / 0.4984 GB, free: 11.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.038e-05/0.3326, allocations: 49.7 kB / 0.4984 GB, free: 11.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.3337, allocations: 1.657 MB / 0.5 GB, free: 9.449 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000339/0.334, allocations: 473.3 kB / 0.5005 GB, free: 8.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004936/0.3345, allocations: 335.2 kB / 0.5008 GB, free: 8.645 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.3346, allocations: 301.1 kB / 0.5011 GB, free: 8.348 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.3358, allocations: 0.7301 MB / 0.5018 GB, free: 7.617 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.3373, allocations: 1.368 MB / 0.5031 GB, free: 5.961 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002853/0.3402, allocations: 2.246 MB / 0.5053 GB, free: 3.434 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.3402, allocations: 4 kB / 0.5053 GB, free: 3.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.003873/0.3441, allocations: 2.607 MB / 0.5079 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.3441, allocations: 12.5 kB / 0.5079 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.3442, allocations: 24 kB / 0.5079 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004683/0.3446, allocations: 190.3 kB / 0.5081 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.3463, allocations: 463.3 kB / 0.5085 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003212/0.3495, allocations: 3.781 MB / 0.5122 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.3508, allocations: 107.8 kB / 0.5123 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.3509, allocations: 84 kB / 0.5124 GB, free: 11.85 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.001424/0.3524, allocations: 1.059 MB / 0.5134 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000304/0.3527, allocations: 213.3 kB / 0.5136 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003645/0.3563, allocations: 2.268 MB / 0.5159 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.3564, allocations: 3.984 kB / 0.5159 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3564, allocations: 0 / 0.5159 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007885/0.3572, allocations: 454.3 kB / 0.5163 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002958/0.3575, allocations: 39.86 kB / 0.5163 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000975/0.3585, allocations: 79.91 kB / 0.5164 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.3586, allocations: 97.09 kB / 0.5165 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004022/0.3627, allocations: 2.042 MB / 0.5185 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003688/0.3664, allocations: 2.695 MB / 0.5211 GB, free: 2.789 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001008/0.3674, allocations: 0.7286 MB / 0.5218 GB, free: 2.059 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001906/0.3693, allocations: 1.439 MB / 0.5232 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of Backend: time 3.31e-07/0.3693, allocations: 0 / 0.5232 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003029/0.3723, allocations: 1.758 MB / 0.525 GB, free: 14.79 MB / 462.1 MB Notification: Performance of SimCode: time 0.009104/0.3815, allocations: 6.508 MB / 0.5313 GB, free: 8.234 MB / 462.1 MB Notification: Performance of Templates: time 0.1978/0.5793, allocations: 34.14 MB / 0.5647 GB, free: 109.9 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)