Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.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_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|multiSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|multiSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001085/0.001085, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001214/0.001214, allocations: 206.8 kB / 19.41 MB, free: 3.668 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.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2408, allocations: 50.54 MB / 410 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource): time 0.01179/0.2527, allocations: 10.95 MB / 420.9 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006273/0.259, allocations: 3.672 MB / 424.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.2602, allocations: 71.69 kB / 424.6 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.262, allocations: 0.8734 MB / 425.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.2644, allocations: 0.9009 MB / 426.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009975/0.2654, allocations: 471.3 kB / 426.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003097/0.2685, allocations: 2.95 MB / 429.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002873/0.2714, allocations: 2.731 MB / 432.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.273, allocations: 1.382 MB / 433.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.2751, allocations: 1.763 MB / 435.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004852/0.2755, allocations: 372 kB / 436.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008848/0.2764, allocations: 479.8 kB / 436.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009805/0.2774, allocations: 1.075 MB / 437.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001551/0.279, allocations: 1.676 MB / 439.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004606/0.2836, allocations: 4.9 MB / 444.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2836, allocations: 4 kB / 444.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2836, allocations: 0 / 444.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.957e-05/0.2837, allocations: 4 kB / 444.2 MB, free: 15.16 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 659 * Number of variables: 659 Notification: Performance of Generate backend data structure: time 0.006101/0.2898, allocations: 3.481 MB / 447.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2899, allocations: 12.03 kB / 447.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009022/0.2908, allocations: 362.8 kB / 448 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002939/0.2937, allocations: 1.836 MB / 449.9 MB, free: 9.355 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.2939, allocations: 189.4 kB / 450.1 MB, free: 9.168 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003482/0.2943, allocations: 255.9 kB / 450.3 MB, free: 8.918 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005116/0.2994, allocations: 3.287 MB / 453.6 MB, free: 5.551 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.255e-05/0.2995, allocations: 3.953 kB / 453.6 MB, free: 5.547 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002153/0.2997, allocations: 104 kB / 453.7 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001195/0.2998, allocations: 120.9 kB / 453.8 MB, free: 5.324 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004598/0.3044, allocations: 2.756 MB / 456.6 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0146/0.319, allocations: 10.41 MB / 467 MB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.3209, allocations: 1.369 MB / 468.4 MB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.3221, allocations: 0.7589 MB / 469.1 MB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002805/0.3224, allocations: 203.2 kB / 469.3 MB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.3224, allocations: 43.56 kB / 469.4 MB, free: 5.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=98): time 2.896e-06/0.3224, allocations: 0 / 469.4 MB, free: 5.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=123): time 0.01442/0.3368, allocations: 6.946 MB / 476.3 MB, free: 14.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.3369, allocations: 68.39 kB / 476.4 MB, free: 14.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/0.3393, allocations: 1.794 MB / 478.2 MB, free: 12.37 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.77e-05/0.3394, allocations: 45.7 kB / 478.2 MB, free: 12.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008578/0.3403, allocations: 1.302 MB / 479.5 MB, free: 11.01 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000322/0.3406, allocations: 460.1 kB / 480 MB, free: 10.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004532/0.3411, allocations: 295.5 kB / 480.3 MB, free: 10.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.269e-05/0.3412, allocations: 305.1 kB / 480.5 MB, free: 9.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.3423, allocations: 0.7769 MB / 481.3 MB, free: 9.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.3438, allocations: 1.288 MB / 482.6 MB, free: 7.668 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002845/0.3467, allocations: 2.206 MB / 484.8 MB, free: 5.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.3467, allocations: 4 kB / 484.8 MB, free: 5.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003954/0.3506, allocations: 2.49 MB / 487.3 MB, free: 2.715 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3507, allocations: 12.69 kB / 487.3 MB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.3507, allocations: 16 kB / 487.3 MB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006002/0.3513, allocations: 247.2 kB / 487.6 MB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.3528, allocations: 411.3 kB / 488 MB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/0.3554, allocations: 3.249 MB / 491.2 MB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.3566, allocations: 131.8 kB / 491.4 MB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.3567, allocations: 68 kB / 491.4 MB, free: 14.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (198): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 2 systems {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001243/0.358, allocations: 0.8174 MB / 492.2 MB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/0.3583, allocations: 190.8 kB / 492.4 MB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003282/0.3615, allocations: 2.058 MB / 494.5 MB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.3616, allocations: 3.984 kB / 494.5 MB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3616, allocations: 0 / 494.5 MB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007045/0.3623, allocations: 435.7 kB / 494.9 MB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/0.3625, allocations: 23.94 kB / 494.9 MB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008931/0.3634, allocations: 103.8 kB / 495 MB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.3636, allocations: 72.89 kB / 495.1 MB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003764/0.3674, allocations: 2.066 MB / 497.2 MB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004119/0.3715, allocations: 3.044 MB / 0.4885 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001093/0.3726, allocations: 0.812 MB / 0.4893 GB, free: 4.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001816/0.3744, allocations: 1.228 MB / 0.4905 GB, free: 3.371 MB / 414.1 MB Notification: Performance of Backend: time 3.7e-07/0.3744, allocations: 0 / 0.4905 GB, free: 3.371 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003446/0.3779, allocations: 1.811 MB / 0.4923 GB, free: 1.488 MB / 414.1 MB Notification: Performance of SimCode: time 0.007928/0.3858, allocations: 5.117 MB / 0.4973 GB, free: 12.32 MB / 430.1 MB Notification: Performance of Templates: time 0.04932/0.4352, allocations: 29.49 MB / 0.5261 GB, free: 15.06 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.pipe 2>&1)