Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.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_VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 103 kB / 16.51 MB, free: 6.645 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.001229/0.001229, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.543/1.543, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001453/0.001452, allocations: 48.39 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1587, allocations: 46.64 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource): time 0.01422/0.173, allocations: 11.51 MB / 337.5 MB, free: 9.316 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.184, allocations: 3.907 MB / 341.4 MB, free: 5.391 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005714/0.1898, allocations: 59.69 kB / 341.4 MB, free: 5.332 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004876/0.1948, allocations: 0.7457 MB / 342.2 MB, free: 4.582 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008418/0.2032, allocations: 0.8588 MB / 343 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003678/0.207, allocations: 471.5 kB / 343.5 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.009801/0.2168, allocations: 3.609 MB / 347.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007104/0.2239, allocations: 2.525 MB / 349.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00393/0.2279, allocations: 1.339 MB / 351 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00456/0.2325, allocations: 1.891 MB / 352.9 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001712/0.2342, allocations: 256 kB / 353.1 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.2369, allocations: 375.8 kB / 353.5 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002558/0.2395, allocations: 1.052 MB / 354.5 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004322/0.2438, allocations: 1.698 MB / 356.2 MB, free: 6.434 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006/0.2499, allocations: 5.308 MB / 361.5 MB, free: 1.109 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.277e-05/0.2499, allocations: 7.984 kB / 361.6 MB, free: 1.102 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2499, allocations: 0 / 361.6 MB, free: 1.102 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001535/0.2501, allocations: 4 kB / 361.6 MB, free: 1.098 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.01009/0.2602, allocations: 3.802 MB / 365.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.2602, allocations: 8.031 kB / 365.4 MB, free: 13.22 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.2614, allocations: 396.5 kB / 365.8 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003439/0.2648, allocations: 1.931 MB / 367.7 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.265, allocations: 226 kB / 367.9 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003997/0.2654, allocations: 283.9 kB / 368.2 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006655/0.2721, allocations: 3.697 MB / 371.9 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.566e-05/0.2722, allocations: 12 kB / 371.9 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/0.2724, allocations: 116 kB / 372 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/0.2726, allocations: 145.5 kB / 372.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005376/0.278, allocations: 3.106 MB / 375.3 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2306/0.5086, allocations: 11.64 MB / 386.9 MB, free: 46.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/0.5114, allocations: 1.903 MB / 388.8 MB, free: 44.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002088/0.5135, allocations: 1.089 MB / 389.9 MB, free: 44.53 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000303/0.5138, allocations: 204.7 kB / 390.1 MB, free: 44.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/0.5139, allocations: 49.59 kB / 390.1 MB, free: 44.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=125): time 3.055e-06/0.5139, allocations: 4 kB / 390.1 MB, free: 44.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=140): time 0.01411/0.528, allocations: 6.524 MB / 396.7 MB, free: 40.81 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.5281, allocations: 72.38 kB / 396.7 MB, free: 40.74 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002815/0.5309, allocations: 1.987 MB / 398.7 MB, free: 39.67 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.5311, allocations: 49.64 kB / 398.8 MB, free: 39.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009882/0.5321, allocations: 1.408 MB / 400.2 MB, free: 38.38 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003791/0.5324, allocations: 488 kB / 400.7 MB, free: 37.97 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005448/0.533, allocations: 329.5 kB / 401 MB, free: 37.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.725e-05/0.5331, allocations: 301.1 kB / 401.3 MB, free: 37.49 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.5343, allocations: 0.8264 MB / 402.1 MB, free: 37.08 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.5355, allocations: 1.37 MB / 403.5 MB, free: 35.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/0.538, allocations: 2.364 MB / 405.8 MB, free: 34.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.538, allocations: 3.906 kB / 405.8 MB, free: 34.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.003946/0.5419, allocations: 2.852 MB / 408.7 MB, free: 31.65 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.542, allocations: 16 kB / 408.7 MB, free: 31.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.542, allocations: 16 kB / 408.7 MB, free: 31.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007827/0.5428, allocations: 388.2 kB / 409.1 MB, free: 31.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.5441, allocations: 436.4 kB / 409.5 MB, free: 30.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004354/0.5485, allocations: 6.144 MB / 415.7 MB, free: 24.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/0.5505, allocations: 127.8 kB / 415.8 MB, free: 24.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.5506, allocations: 79.98 kB / 415.9 MB, free: 24.07 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (210): * Single equations (assignments): 206 * 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 {(2,9,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.001746/0.5524, allocations: 0.9077 MB / 416.8 MB, free: 23.15 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004784/0.5529, allocations: 209.4 kB / 417 MB, free: 22.95 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003273/0.5561, allocations: 2.417 MB / 419.4 MB, free: 20.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.5562, allocations: 16 kB / 419.4 MB, free: 20.47 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5562, allocations: 4 kB / 419.4 MB, free: 20.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.5562, allocations: 7.922 kB / 419.4 MB, free: 20.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007973/0.5642, allocations: 5.537 MB / 425 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.5642, allocations: 7.938 kB / 425 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009827/0.5652, allocations: 263.6 kB / 425.2 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000863/0.5661, allocations: 399.5 kB / 425.6 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.721e-05/0.5662, allocations: 35.98 kB / 425.7 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005365/0.5716, allocations: 7.577 MB / 433.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.5716, allocations: 11.94 kB / 433.2 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004616/0.5762, allocations: 3.616 MB / 436.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/0.5774, allocations: 466.4 kB / 437.3 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/0.5777, allocations: 35.98 kB / 437.3 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.5788, allocations: 87.89 kB / 437.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002816/0.5791, allocations: 109 kB / 437.5 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.693e-05/0.5792, allocations: 36 kB / 437.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00229/0.5815, allocations: 1.361 MB / 438.9 MB, free: 144 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.272e-06/0.5815, allocations: 0 / 438.9 MB, free: 144 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.002739/0.5842, allocations: 0.5401 MB / 439.5 MB, free: 15.6 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 6 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,voltageController.PI_d.x,voltageController.PI_q.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,9,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000477/0.5847, allocations: 204.6 kB / 439.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004497/0.5892, allocations: 2.482 MB / 442.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/0.5893, allocations: 4.125 kB / 442.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002229/0.5915, allocations: 1.497 MB / 443.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003468/0.595, allocations: 0.4969 MB / 444.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/0.6109, allocations: 6.976 MB / 451.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003773/0.6148, allocations: 2.209 MB / 453.3 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.002143/0.6169, allocations: 0.4901 MB / 453.8 MB, free: 1.031 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004853/0.6174, allocations: 155.3 kB / 454 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6174, allocations: 0 / 454 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of Templates: time 0.06472/0.6822, allocations: 28.46 MB / 482.4 MB, free: 4.395 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe 2>&1)