Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 110.6 kB / 18.4 MB, free: 4.68 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.001646/0.001646, allocations: 190.1 kB / 19.34 MB, free: 3.754 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.256/1.256, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001155/0.001155, allocations: 44.41 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07122/0.07238, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.1558/0.2282, allocations: 10.27 MB / 386.1 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005396/0.2336, allocations: 3.484 MB / 389.6 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.2351, allocations: 48.47 kB / 389.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.2369, allocations: 0.7704 MB / 390.4 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.2391, allocations: 0.827 MB / 391.2 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008262/0.2399, allocations: 423.9 kB / 391.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002283/0.2422, allocations: 2.758 MB / 394.4 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002167/0.2444, allocations: 2.366 MB / 396.8 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.2457, allocations: 1.251 MB / 398 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.2474, allocations: 1.582 MB / 399.6 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003867/0.2478, allocations: 332.8 kB / 399.9 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007228/0.2486, allocations: 440.9 kB / 400.4 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007481/0.2493, allocations: 0.941 MB / 401.3 MB, free: 148 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001395/0.2507, allocations: 1.503 MB / 402.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003634/0.2544, allocations: 4.378 MB / 407.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2544, allocations: 0 / 407.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2544, allocations: 0 / 407.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.404e-05/0.2544, allocations: 0 / 407.2 MB, free: 12.57 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.005388/0.2598, allocations: 3.068 MB / 410.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2599, allocations: 9.938 kB / 410.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000775/0.2607, allocations: 306.3 kB / 410.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/0.2631, allocations: 1.53 MB / 412.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.2632, allocations: 174 kB / 412.3 MB, free: 9.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003231/0.2636, allocations: 220.4 kB / 412.5 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004647/0.2682, allocations: 2.915 MB / 415.4 MB, free: 7.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.268e-05/0.2683, allocations: 6.344 kB / 415.4 MB, free: 7.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002167/0.2685, allocations: 90.33 kB / 415.5 MB, free: 7.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/0.2686, allocations: 116.2 kB / 415.6 MB, free: 7.176 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004096/0.2727, allocations: 2.433 MB / 418 MB, free: 5.215 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01257/0.2853, allocations: 9.004 MB / 427 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002314/0.2877, allocations: 1.699 MB / 428.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.2894, allocations: 0.9843 MB / 429.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002859/0.2897, allocations: 199.2 kB / 429.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.2897, allocations: 55.48 kB / 430 MB, free: 8.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 3.095e-06/0.2898, allocations: 0 / 430 MB, free: 8.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.01349/0.3033, allocations: 6.528 MB / 436.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.3033, allocations: 72.39 kB / 436.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/0.3053, allocations: 1.561 MB / 438.1 MB, free: 496 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.048e-05/0.3054, allocations: 45.7 kB / 438.2 MB, free: 444 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007177/0.3061, allocations: 1.108 MB / 439.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/0.3064, allocations: 433.8 kB / 439.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000421/0.3068, allocations: 271.4 kB / 440 MB, free: 14.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.342e-05/0.3069, allocations: 301.1 kB / 440.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.3081, allocations: 0.7105 MB / 441 MB, free: 13.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.3095, allocations: 1.139 MB / 442.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002729/0.3123, allocations: 1.968 MB / 444.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.3123, allocations: 4 kB / 444.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004053/0.3163, allocations: 2.519 MB / 446.6 MB, free: 7.562 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.3164, allocations: 19.28 kB / 446.6 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.3164, allocations: 16 kB / 446.6 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009496/0.3173, allocations: 415.1 kB / 447 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.3186, allocations: 355.4 kB / 447.4 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006682/0.3253, allocations: 7.117 MB / 454.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.3264, allocations: 107.8 kB / 454.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.3266, allocations: 67.98 kB / 454.7 MB, free: 15.05 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009898/0.3276, allocations: 0.7127 MB / 455.4 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002662/0.3278, allocations: 173.9 kB / 455.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003691/0.3315, allocations: 2.182 MB / 457.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.3316, allocations: 7.969 kB / 457.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.3316, allocations: 4 kB / 457.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006354/0.3322, allocations: 402.8 kB / 458.1 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/0.3325, allocations: 35.92 kB / 458.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008872/0.3334, allocations: 83.89 kB / 458.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.3336, allocations: 93.16 kB / 458.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004609/0.3382, allocations: 2.184 MB / 460.5 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003921/0.3421, allocations: 2.719 MB / 463.3 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00113/0.3433, allocations: 0.7558 MB / 464 MB, free: 5.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001486/0.3448, allocations: 1.066 MB / 465.1 MB, free: 4.535 MB / 382.1 MB Notification: Performance of Backend: time 5.01e-07/0.3448, allocations: 0 / 465.1 MB, free: 4.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003341/0.3481, allocations: 1.815 MB / 466.9 MB, free: 2.652 MB / 382.1 MB Notification: Performance of SimCode: time 0.007354/0.3555, allocations: 4.984 MB / 471.9 MB, free: 13.61 MB / 398.1 MB Notification: Performance of Templates: time 0.04457/0.4001, allocations: 27.9 MB / 499.8 MB, free: 1.656 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1)