Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 102.2 kB / 18.4 MB, free: 4.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 188.3 kB / 19.34 MB, free: 3.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.288/1.288, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 55.92 kB / 329.2 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07664/0.07785, allocations: 46.62 MB / 375.8 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.1724/0.2503, allocations: 10.87 MB / 386.7 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006368/0.2567, allocations: 3.675 MB / 390.4 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.2582, allocations: 61 kB / 390.5 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001881/0.2601, allocations: 0.8138 MB / 391.3 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002541/0.2626, allocations: 0.8528 MB / 392.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.2638, allocations: 466.8 kB / 392.6 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0031/0.2669, allocations: 2.954 MB / 395.5 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002685/0.2696, allocations: 2.684 MB / 398.2 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.2714, allocations: 1.365 MB / 399.6 MB, free: 472 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/0.2736, allocations: 1.758 MB / 401.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005167/0.2742, allocations: 377.5 kB / 401.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009318/0.2751, allocations: 476.6 kB / 402.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.2763, allocations: 1.068 MB / 403.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001867/0.2782, allocations: 1.674 MB / 404.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004853/0.283, allocations: 4.879 MB / 409.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2831, allocations: 0 / 409.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2831, allocations: 1.031 kB / 409.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.247e-05/0.2831, allocations: 1.469 kB / 409.8 MB, free: 10.7 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.006535/0.2897, allocations: 3.391 MB / 413.2 MB, free: 8.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.2897, allocations: 8.656 kB / 413.2 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008006/0.2905, allocations: 336.2 kB / 413.5 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002723/0.2933, allocations: 1.706 MB / 415.2 MB, free: 6.984 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.2934, allocations: 193.7 kB / 415.4 MB, free: 6.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00036/0.2938, allocations: 250.9 kB / 415.7 MB, free: 6.805 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005251/0.2991, allocations: 3.289 MB / 419 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-05/0.2991, allocations: 11.89 kB / 419 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002499/0.2994, allocations: 104.5 kB / 419.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/0.2995, allocations: 124.9 kB / 419.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004329/0.3039, allocations: 2.744 MB / 421.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01484/0.3187, allocations: 10.39 MB / 432.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.3205, allocations: 1.351 MB / 433.7 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.3216, allocations: 0.754 MB / 434.4 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003202/0.322, allocations: 196.3 kB / 434.6 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/0.3221, allocations: 51.5 kB / 434.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 3.918e-06/0.3221, allocations: 0 / 434.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.01553/0.3377, allocations: 7.034 MB / 441.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.3377, allocations: 68.39 kB / 441.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002671/0.3404, allocations: 1.785 MB / 443.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.3405, allocations: 45.7 kB / 443.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009186/0.3414, allocations: 1.275 MB / 444.9 MB, free: 9.699 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003455/0.3418, allocations: 425.9 kB / 445.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004826/0.3423, allocations: 303.2 kB / 445.6 MB, free: 8.973 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3424, allocations: 309.1 kB / 445.9 MB, free: 8.668 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.3436, allocations: 0.7729 MB / 446.7 MB, free: 7.895 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.3451, allocations: 1.301 MB / 448 MB, free: 6.363 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002856/0.348, allocations: 2.215 MB / 450.2 MB, free: 3.914 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.348, allocations: 4 kB / 450.2 MB, free: 3.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003907/0.3519, allocations: 2.474 MB / 452.7 MB, free: 1.414 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.352, allocations: 16.12 kB / 452.7 MB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.352, allocations: 16 kB / 452.7 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006094/0.3526, allocations: 235.2 kB / 452.9 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.3541, allocations: 419.3 kB / 453.3 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.3568, allocations: 3.253 MB / 456.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.3582, allocations: 123.8 kB / 456.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.3583, allocations: 68 kB / 456.8 MB, free: 13 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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.001361/0.3597, allocations: 0.8329 MB / 457.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003132/0.36, allocations: 181.8 kB / 457.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003269/0.3633, allocations: 2.039 MB / 459.8 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.661e-05/0.3634, allocations: 7.969 kB / 459.8 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3634, allocations: 0 / 459.8 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007237/0.3641, allocations: 430.7 kB / 460.2 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/0.3643, allocations: 23.94 kB / 460.3 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009073/0.3652, allocations: 95.86 kB / 460.4 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.3654, allocations: 76.88 kB / 460.4 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003932/0.3694, allocations: 2.062 MB / 462.5 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004016/0.3734, allocations: 3.02 MB / 465.5 MB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001058/0.3745, allocations: 0.812 MB / 466.3 MB, free: 3.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001784/0.3763, allocations: 1.227 MB / 467.6 MB, free: 2.125 MB / 382.1 MB Notification: Performance of Backend: time 3.5e-07/0.3763, allocations: 0 / 467.6 MB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00343/0.3797, allocations: 1.815 MB / 469.4 MB, free: 244 kB / 382.1 MB Notification: Performance of SimCode: time 0.008744/0.3885, allocations: 5.016 MB / 474.4 MB, free: 11.16 MB / 398.1 MB Notification: Performance of Templates: time 0.05283/0.4414, allocations: 29.84 MB / 0.4924 GB, free: 13.27 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1)