Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.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.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001582/0.001582, allocations: 113.8 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.00201/0.00201, allocations: 204 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 247.6 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 59.89 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2307, allocations: 50.55 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01501/0.2457, allocations: 9.115 MB / 419.1 MB, free: 8.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007652/0.2534, allocations: 3.17 MB / 422.2 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009536/0.2544, allocations: 43.81 kB / 422.3 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.2561, allocations: 0.6755 MB / 422.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00199/0.2581, allocations: 0.7144 MB / 423.7 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007853/0.2589, allocations: 323.5 kB / 424 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002536/0.2615, allocations: 2.144 MB / 426.1 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001671/0.2632, allocations: 1.422 MB / 427.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.2644, allocations: 0.9304 MB / 428.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.2658, allocations: 1.144 MB / 429.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003305/0.2662, allocations: 232 kB / 429.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006216/0.2668, allocations: 327.8 kB / 430.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006395/0.2675, allocations: 0.6817 MB / 430.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.2685, allocations: 1.093 MB / 431.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00282/0.2714, allocations: 3.136 MB / 435.1 MB, free: 8.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2714, allocations: 0 / 435.1 MB, free: 8.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2714, allocations: 4 kB / 435.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.361e-05/0.2714, allocations: 0 / 435.1 MB, free: 8.324 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.004029/0.2755, allocations: 2.308 MB / 437.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.2755, allocations: 8.031 kB / 437.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006359/0.2762, allocations: 234.4 kB / 437.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/0.2783, allocations: 1.228 MB / 438.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.962e-05/0.2784, allocations: 115.5 kB / 439 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002185/0.2786, allocations: 163.8 kB / 439.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003219/0.2818, allocations: 2.037 MB / 441.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.578e-05/0.2819, allocations: 3.906 kB / 441.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.2821, allocations: 64 kB / 441.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.04e-05/0.2821, allocations: 78.92 kB / 441.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002717/0.2849, allocations: 1.678 MB / 443 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009809/0.2947, allocations: 7.034 MB / 450 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008645/0.2956, allocations: 476.4 kB / 450.5 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004311/0.296, allocations: 278.6 kB / 450.8 MB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002138/0.2963, allocations: 117.5 kB / 450.9 MB, free: 7.988 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/0.2963, allocations: 42.94 kB / 450.9 MB, free: 7.938 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.826e-06/0.2963, allocations: 0 / 450.9 MB, free: 7.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.006816/0.3032, allocations: 3.033 MB / 453.9 MB, free: 4.832 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.3032, allocations: 55.97 kB / 454 MB, free: 4.766 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/0.3054, allocations: 1.636 MB / 455.6 MB, free: 3.121 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/0.3055, allocations: 37.7 kB / 455.7 MB, free: 3.078 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007283/0.3063, allocations: 1.034 MB / 456.7 MB, free: 2.031 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.3064, allocations: 232.8 kB / 456.9 MB, free: 1.801 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004/0.3069, allocations: 319.1 kB / 457.2 MB, free: 1.484 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.307, allocations: 309 kB / 457.5 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008692/0.3079, allocations: 0.5192 MB / 458.1 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.3093, allocations: 1.466 MB / 459.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002521/0.3118, allocations: 2.141 MB / 461.7 MB, free: 12.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/0.3119, allocations: 8 kB / 461.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003816/0.3157, allocations: 2.156 MB / 463.8 MB, free: 9.949 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.3157, allocations: 24.95 kB / 463.9 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.174e-05/0.3158, allocations: 32 kB / 463.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005865/0.3164, allocations: 226.4 kB / 464.1 MB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.3176, allocations: 395.3 kB / 464.5 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.3195, allocations: 1.847 MB / 466.3 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.3209, allocations: 147.3 kB / 466.5 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.321, allocations: 96 kB / 466.6 MB, free: 7.051 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009958/0.322, allocations: 0.5866 MB / 467.2 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/0.3223, allocations: 150.1 kB / 467.3 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/0.3243, allocations: 1.098 MB / 468.4 MB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3243, allocations: 0 / 468.4 MB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3243, allocations: 0 / 468.4 MB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006582/0.325, allocations: 307.1 kB / 468.7 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.3251, allocations: 12 kB / 468.7 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006509/0.3258, allocations: 56.06 kB / 468.8 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.3259, allocations: 48.48 kB / 468.8 MB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001888/0.3278, allocations: 1.059 MB / 469.9 MB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002194/0.33, allocations: 1.535 MB / 471.4 MB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006475/0.3307, allocations: 388.2 kB / 471.8 MB, free: 1.738 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001542/0.3322, allocations: 1.079 MB / 472.9 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of Backend: time 2.11e-07/0.3322, allocations: 0 / 472.9 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002947/0.3352, allocations: 1.44 MB / 474.3 MB, free: 15.17 MB / 398.1 MB Notification: Performance of SimCode: time 0.005093/0.3403, allocations: 3.553 MB / 477.9 MB, free: 11.58 MB / 398.1 MB Notification: Performance of Templates: time 0.03646/0.3768, allocations: 21.22 MB / 499.1 MB, free: 6.555 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1)