Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001495/0.001495, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 200.2 kB / 16.54 MB, free: 6.672 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.611/1.611, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.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.001341/0.001342, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3039, allocations: 46.63 MB / 325.3 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01254/0.3164, allocations: 8.959 MB / 334.3 MB, free: 10.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006494/0.323, allocations: 3.205 MB / 337.5 MB, free: 7.719 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.3246, allocations: 35.88 kB / 337.5 MB, free: 7.684 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002183/0.3268, allocations: 0.6716 MB / 338.2 MB, free: 7.008 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002746/0.3296, allocations: 0.7067 MB / 338.9 MB, free: 6.297 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.3306, allocations: 327.5 kB / 339.2 MB, free: 5.977 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002918/0.3336, allocations: 2.09 MB / 341.3 MB, free: 3.879 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002005/0.3356, allocations: 1.409 MB / 342.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.3371, allocations: 0.8992 MB / 343.6 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/0.339, allocations: 1.133 MB / 344.7 MB, free: 392 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005755/0.3396, allocations: 228 kB / 345 MB, free: 164 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009446/0.3405, allocations: 331.9 kB / 345.3 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009043/0.3415, allocations: 0.6778 MB / 346 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001741/0.3432, allocations: 1.077 MB / 347 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003374/0.3466, allocations: 3.076 MB / 350.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3466, allocations: 3.938 kB / 350.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3466, allocations: 0 / 350.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.908e-05/0.3467, allocations: 0 / 350.1 MB, free: 10.98 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.004287/0.351, allocations: 2.261 MB / 352.4 MB, free: 8.664 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.351, allocations: 19.88 kB / 352.4 MB, free: 8.645 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006484/0.3517, allocations: 222.5 kB / 352.6 MB, free: 8.426 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001858/0.3536, allocations: 1.157 MB / 353.8 MB, free: 7.211 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.3537, allocations: 111.5 kB / 353.9 MB, free: 7.102 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002354/0.3539, allocations: 155.8 kB / 354 MB, free: 6.949 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003201/0.3571, allocations: 2.008 MB / 356 MB, free: 4.891 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.345e-05/0.3572, allocations: 0 / 356 MB, free: 4.891 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.3574, allocations: 64 kB / 356.1 MB, free: 4.828 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.943e-05/0.3574, allocations: 78.92 kB / 356.2 MB, free: 4.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002816/0.3603, allocations: 1.655 MB / 357.8 MB, free: 3.09 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/0.3706, allocations: 6.94 MB / 364.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008631/0.3715, allocations: 448.8 kB / 365.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004018/0.3719, allocations: 258 kB / 365.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002482/0.3722, allocations: 113.5 kB / 365.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.789e-05/0.3722, allocations: 43 kB / 365.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 3.406e-06/0.3723, allocations: 0 / 365.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.00765/0.3799, allocations: 3.3 MB / 368.9 MB, free: 7.555 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002742/0.3827, allocations: 2.314 MB / 371.2 MB, free: 5.066 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/0.3851, allocations: 1.619 MB / 372.9 MB, free: 3.438 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.155e-05/0.3852, allocations: 37.7 kB / 372.9 MB, free: 3.395 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007705/0.386, allocations: 1.022 MB / 373.9 MB, free: 2.359 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.3862, allocations: 240.8 kB / 374.2 MB, free: 2.121 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004507/0.3866, allocations: 319.1 kB / 374.5 MB, free: 1.801 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3868, allocations: 301.1 kB / 374.8 MB, free: 1.504 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008123/0.3876, allocations: 0.5231 MB / 375.3 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.3891, allocations: 1.461 MB / 376.7 MB, free: 15.05 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002655/0.3918, allocations: 2.141 MB / 378.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.516e-05/0.3918, allocations: 11.94 kB / 378.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003622/0.3954, allocations: 2.161 MB / 381.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.3955, allocations: 20 kB / 381.1 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-05/0.3955, allocations: 39.94 kB / 381.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005747/0.3961, allocations: 234.6 kB / 381.3 MB, free: 9.953 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.3973, allocations: 395.3 kB / 381.7 MB, free: 9.566 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.3992, allocations: 1.843 MB / 383.6 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.4006, allocations: 135.4 kB / 383.7 MB, free: 7.449 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.4007, allocations: 99.98 kB / 383.8 MB, free: 7.352 MB / 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 (not torn): 2 * Torn equation systems: 1 * 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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000923/0.4017, allocations: 0.5867 MB / 384.4 MB, free: 6.754 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/0.4019, allocations: 154 kB / 384.5 MB, free: 6.602 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/0.4039, allocations: 1.114 MB / 385.7 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.4039, allocations: 8 kB / 385.7 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4039, allocations: 0 / 385.7 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.4039, allocations: 240 / 385.7 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005299/0.4092, allocations: 3.39 MB / 389.1 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.4092, allocations: 8 kB / 389.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/0.4097, allocations: 111.8 kB / 389.2 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006057/0.4103, allocations: 226.7 kB / 389.4 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.279e-05/0.4103, allocations: 16 kB / 389.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004148/0.4145, allocations: 4.069 MB / 393.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002029/0.4165, allocations: 2.154 MB / 395.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/0.4191, allocations: 1.758 MB / 397.4 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005914/0.4197, allocations: 311.2 kB / 397.7 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/0.42, allocations: 19.94 kB / 397.7 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006956/0.4207, allocations: 47.94 kB / 397.8 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.4209, allocations: 67.8 kB / 397.8 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.4209, allocations: 24 kB / 397.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001778/0.4227, allocations: 1.07 MB / 398.9 MB, free: 7.496 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4227, allocations: 0 / 398.9 MB, free: 7.496 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001693/0.4244, allocations: 380 kB / 399.3 MB, free: 7.125 MB / 334.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 (not torn): 1 * 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): 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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000358/0.4248, allocations: 175 kB / 399.5 MB, free: 6.941 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002966/0.4277, allocations: 1.711 MB / 401.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.4278, allocations: 0 / 401.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001352/0.4291, allocations: 0.8559 MB / 402 MB, free: 4.281 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.4311, allocations: 409.1 kB / 402.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005606/0.4367, allocations: 3.205 MB / 405.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001649/0.4384, allocations: 1.465 MB / 407.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001353/0.4398, allocations: 354 kB / 407.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003723/0.4402, allocations: 115.4 kB / 407.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4402, allocations: 0 / 407.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of Templates: time 0.04427/0.4844, allocations: 20.38 MB / 427.9 MB, free: 10.18 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1)