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.001114/0.001118, allocations: 118.2 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.001257/0.001257, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2316, allocations: 50.54 MB / 409.9 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.00954/0.2412, allocations: 9.104 MB / 419 MB, free: 8.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004641/0.2459, allocations: 3.17 MB / 422.2 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005425/0.2464, allocations: 47.75 kB / 422.3 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.2478, allocations: 0.7263 MB / 423 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.2492, allocations: 0.7534 MB / 423.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.2498, allocations: 323.5 kB / 424.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001797/0.2516, allocations: 2.14 MB / 426.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.2531, allocations: 1.429 MB / 427.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00091/0.254, allocations: 0.9342 MB / 428.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001207/0.2552, allocations: 1.144 MB / 429.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002793/0.2555, allocations: 232 kB / 429.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005416/0.256, allocations: 335.8 kB / 430.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005942/0.2566, allocations: 0.6662 MB / 430.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009133/0.2576, allocations: 1.104 MB / 432 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002676/0.2602, allocations: 3.149 MB / 435.2 MB, free: 8.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2603, allocations: 0 / 435.2 MB, free: 8.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2603, allocations: 0 / 435.2 MB, free: 8.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.651e-05/0.2603, allocations: 0 / 435.2 MB, free: 8.348 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.003634/0.2639, allocations: 2.353 MB / 437.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.264, allocations: 12.03 kB / 437.5 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005908/0.2646, allocations: 243.5 kB / 437.8 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.2664, allocations: 1.236 MB / 439 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.85e-05/0.2664, allocations: 115.5 kB / 439.1 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/0.2667, allocations: 163.9 kB / 439.3 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/0.2695, allocations: 2.025 MB / 441.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-05/0.2696, allocations: 19.89 kB / 441.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.2697, allocations: 63.98 kB / 441.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.746e-05/0.2698, allocations: 82.92 kB / 441.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/0.2724, allocations: 1.671 MB / 443.2 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008449/0.2809, allocations: 7.06 MB / 450.2 MB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007917/0.2817, allocations: 483.5 kB / 450.7 MB, free: 8.324 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000411/0.2821, allocations: 278 kB / 451 MB, free: 8.051 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/0.2823, allocations: 117.5 kB / 451.1 MB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.2824, allocations: 35 kB / 451.1 MB, free: 7.875 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.545e-06/0.2824, allocations: 4 kB / 451.1 MB, free: 7.871 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.006196/0.2886, allocations: 3.064 MB / 454.2 MB, free: 4.738 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.2886, allocations: 59.97 kB / 454.2 MB, free: 4.668 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/0.2906, allocations: 1.632 MB / 455.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.06e-05/0.2906, allocations: 37.7 kB / 455.9 MB, free: 2.984 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006773/0.2913, allocations: 1.061 MB / 457 MB, free: 1.914 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.2915, allocations: 250 kB / 457.2 MB, free: 1.668 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003874/0.2919, allocations: 327.2 kB / 457.5 MB, free: 1.344 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.292, allocations: 301.1 kB / 457.8 MB, free: 1.047 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008439/0.2928, allocations: 0.5231 MB / 458.3 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.2942, allocations: 1.454 MB / 459.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002395/0.2966, allocations: 2.137 MB / 461.9 MB, free: 12.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.2967, allocations: 8 kB / 461.9 MB, free: 12 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003351/0.3, allocations: 2.173 MB / 464.1 MB, free: 9.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.3001, allocations: 16 kB / 464.1 MB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.901e-05/0.3001, allocations: 36 kB / 464.2 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005459/0.3007, allocations: 238.9 kB / 464.4 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.3018, allocations: 391.3 kB / 464.8 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.3035, allocations: 1.84 MB / 466.6 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.3048, allocations: 143.7 kB / 466.8 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.3049, allocations: 103.9 kB / 466.9 MB, free: 6.91 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.0007888/0.3057, allocations: 0.5983 MB / 467.5 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/0.3059, allocations: 159 kB / 467.6 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/0.3078, allocations: 1.09 MB / 468.7 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.3079, allocations: 3.984 kB / 468.7 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3079, allocations: 0 / 468.7 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004479/0.3083, allocations: 312 kB / 469 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.3085, allocations: 12 kB / 469 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006238/0.3091, allocations: 59.94 kB / 469.1 MB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.3093, allocations: 44.48 kB / 469.1 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001946/0.3112, allocations: 1.063 MB / 470.2 MB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002102/0.3133, allocations: 1.544 MB / 471.7 MB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000579/0.3139, allocations: 380.2 kB / 472.1 MB, free: 1.578 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001428/0.3154, allocations: 1.079 MB / 473.2 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of Backend: time 4.41e-07/0.3154, allocations: 4 kB / 473.2 MB, free: 0.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002607/0.318, allocations: 1.438 MB / 474.6 MB, free: 15.01 MB / 398.1 MB Notification: Performance of SimCode: time 0.004933/0.3229, allocations: 3.595 MB / 478.2 MB, free: 11.36 MB / 398.1 MB Notification: Performance of Templates: time 0.0357/0.3587, allocations: 21.23 MB / 499.5 MB, free: 6.328 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)