Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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_NoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 93.8 kB / 16.3 MB, free: 5.996 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.001787/0.001788, allocations: 180 kB / 17.2 MB, free: 5.914 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.547/1.547, allocations: 205.4 MB / 223.3 MB, free: 13.17 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.0006668/0.0006671, allocations: 16 kB / 280.1 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.112, allocations: 47.58 MB / 327.7 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.008601/0.1206, allocations: 7.256 MB / 335 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006092/0.1268, allocations: 3.077 MB / 338 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.1284, allocations: 31.88 kB / 338.1 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002145/0.1306, allocations: 0.5676 MB / 338.6 MB, free: 9.105 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002802/0.1334, allocations: 0.6348 MB / 339.3 MB, free: 8.469 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.1345, allocations: 215.7 kB / 339.5 MB, free: 8.258 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003492/0.138, allocations: 1.396 MB / 340.9 MB, free: 6.859 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001845/0.1398, allocations: 0.9528 MB / 341.8 MB, free: 5.875 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.141, allocations: 0.6538 MB / 342.5 MB, free: 5.219 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001642/0.1426, allocations: 0.8249 MB / 343.3 MB, free: 4.391 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002942/0.1429, allocations: 100 kB / 343.4 MB, free: 4.293 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006307/0.1436, allocations: 179.8 kB / 343.6 MB, free: 4.117 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005386/0.1441, allocations: 0.4947 MB / 344.1 MB, free: 3.621 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003814/0.1445, allocations: 396.7 kB / 344.5 MB, free: 3.227 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002081/0.1466, allocations: 2.462 MB / 346.9 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1466, allocations: 4 kB / 346.9 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1466, allocations: 0 / 346.9 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.812e-05/0.1467, allocations: 0 / 346.9 MB, free: 0.7539 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.003447/0.1501, allocations: 1.946 MB / 348.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1502, allocations: 8.031 kB / 348.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000575/0.1508, allocations: 233.2 kB / 349.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.1527, allocations: 1.126 MB / 350.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.518e-05/0.1528, allocations: 119.1 kB / 350.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/0.153, allocations: 155.9 kB / 350.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002965/0.156, allocations: 1.973 MB / 352.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.22e-05/0.156, allocations: 11.84 kB / 352.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.1562, allocations: 67.98 kB / 352.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.358e-05/0.1563, allocations: 78.91 kB / 352.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002606/0.1589, allocations: 1.632 MB / 354.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009396/0.1683, allocations: 6.94 MB / 361.2 MB, free: 1.977 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007693/0.1691, allocations: 449 kB / 361.6 MB, free: 1.527 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002436/0.1693, allocations: 113.5 kB / 361.8 MB, free: 1.398 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.1694, allocations: 42.94 kB / 361.8 MB, free: 1.348 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.525e-06/0.1694, allocations: 0 / 361.8 MB, free: 1.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.00701/0.1764, allocations: 3.296 MB / 365.1 MB, free: 13.97 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002344/0.1788, allocations: 2.21 MB / 367.3 MB, free: 11.6 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00217/0.181, allocations: 1.588 MB / 368.9 MB, free: 10 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.591e-05/0.181, allocations: 33.7 kB / 368.9 MB, free: 9.961 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006916/0.1817, allocations: 1.022 MB / 369.9 MB, free: 8.926 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.182, allocations: 240.8 kB / 370.2 MB, free: 8.688 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.182, allocations: 35.94 kB / 370.2 MB, free: 8.652 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1822, allocations: 369.9 kB / 370.6 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007602/0.183, allocations: 0.5075 MB / 371.1 MB, free: 7.777 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.1843, allocations: 1.461 MB / 372.5 MB, free: 5.848 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.1854, allocations: 0.7852 MB / 373.3 MB, free: 5.062 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/0.1854, allocations: 12 kB / 373.3 MB, free: 5.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003247/0.1887, allocations: 2.15 MB / 375.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.1887, allocations: 16 kB / 375.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.318e-05/0.1888, allocations: 36 kB / 375.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005334/0.1893, allocations: 230.4 kB / 375.8 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.1905, allocations: 399.5 kB / 376.2 MB, free: 2.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/0.1922, allocations: 1.737 MB / 377.9 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.1935, allocations: 135.4 kB / 378 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/0.1937, allocations: 99.97 kB / 378.1 MB, free: 112 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2249/0.4186, allocations: 0.5826 MB / 378.7 MB, free: 49.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004277/0.419, allocations: 146.7 kB / 378.8 MB, free: 49.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.4214, allocations: 1.111 MB / 380 MB, free: 48.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.4214, allocations: 6.875 kB / 380 MB, free: 48.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4214, allocations: 1.375 kB / 380 MB, free: 48.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.4215, allocations: 3.328 kB / 380 MB, free: 48.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007156/0.4286, allocations: 3.36 MB / 383.3 MB, free: 47.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.4287, allocations: 6.25 kB / 383.3 MB, free: 47.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004934/0.4292, allocations: 106.7 kB / 383.4 MB, free: 47.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007587/0.43, allocations: 235.1 kB / 383.7 MB, free: 47.83 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-05/0.4301, allocations: 22.36 kB / 383.7 MB, free: 47.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004011/0.4341, allocations: 3.75 MB / 387.4 MB, free: 44.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002066/0.4362, allocations: 2.046 MB / 389.5 MB, free: 43.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003426/0.4396, allocations: 2.061 MB / 391.5 MB, free: 41.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009378/0.4406, allocations: 306 kB / 391.8 MB, free: 41.6 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.4408, allocations: 15.94 kB / 391.9 MB, free: 41.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006484/0.4414, allocations: 49.08 kB / 391.9 MB, free: 41.58 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.4416, allocations: 64.7 kB / 392 MB, free: 41.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.642e-05/0.4417, allocations: 25.78 kB / 392 MB, free: 41.56 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001822/0.4435, allocations: 1.043 MB / 393 MB, free: 41.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4435, allocations: 0 / 393 MB, free: 41.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0022/0.4457, allocations: 381.3 kB / 393.4 MB, free: 41.12 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002876/0.446, allocations: 147.4 kB / 393.6 MB, free: 41.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002571/0.4486, allocations: 1.589 MB / 395.1 MB, free: 40.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.4486, allocations: 1.281 kB / 395.2 MB, free: 40.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.4499, allocations: 0.8428 MB / 396 MB, free: 39.78 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.4517, allocations: 385.7 kB / 396.4 MB, free: 39.67 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005186/0.4569, allocations: 3.689 MB / 400.1 MB, free: 37.47 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.4581, allocations: 1.507 MB / 401.6 MB, free: 36.6 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001244/0.4593, allocations: 353.9 kB / 401.9 MB, free: 36.44 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.4596, allocations: 105.4 kB / 402 MB, free: 36.43 MB / 318.1 MB Notification: Performance of SimCode: time 2.274e-06/0.4596, allocations: 0 / 402 MB, free: 36.43 MB / 318.1 MB Notification: Performance of Templates: time 0.02991/0.4895, allocations: 18.62 MB / 420.6 MB, free: 19 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) Environment - environmentSimulation: