Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.00128/0.001286, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001294/0.001294, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.0006462/0.0006464, allocations: 12 kB / 278.9 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2677, allocations: 47.58 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.009489/0.2772, allocations: 7.243 MB / 333.7 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008403/0.2857, allocations: 3.088 MB / 336.8 MB, free: 9.195 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001791/0.2875, allocations: 31.88 kB / 336.8 MB, free: 9.164 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.2891, allocations: 0.5637 MB / 337.4 MB, free: 8.598 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002395/0.2915, allocations: 0.6309 MB / 338 MB, free: 7.965 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007636/0.2923, allocations: 227.6 kB / 338.2 MB, free: 7.742 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002189/0.2945, allocations: 1.392 MB / 339.6 MB, free: 6.348 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.2957, allocations: 0.9568 MB / 340.6 MB, free: 5.359 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.2968, allocations: 0.6499 MB / 341.2 MB, free: 4.707 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.2979, allocations: 0.8249 MB / 342.1 MB, free: 3.879 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.2981, allocations: 103.9 kB / 342.2 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004558/0.2985, allocations: 167.9 kB / 342.3 MB, free: 3.613 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005314/0.2991, allocations: 0.5025 MB / 342.8 MB, free: 3.109 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003935/0.2995, allocations: 392.7 kB / 343.2 MB, free: 2.719 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.3016, allocations: 2.474 MB / 345.7 MB, free: 244 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.3016, allocations: 0 / 345.7 MB, free: 244 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3016, allocations: 0 / 345.7 MB, free: 244 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.014e-05/0.3017, allocations: 0 / 345.7 MB, free: 244 kB / 270.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.003694/0.3054, allocations: 1.934 MB / 347.6 MB, free: 14.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3054, allocations: 12.03 kB / 347.6 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005909/0.306, allocations: 233.4 kB / 347.9 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.3081, allocations: 1.133 MB / 349 MB, free: 12.81 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.3082, allocations: 111.1 kB / 349.1 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/0.3084, allocations: 151.9 kB / 349.2 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003299/0.3117, allocations: 1.981 MB / 351.2 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.342e-05/0.3118, allocations: 7.938 kB / 351.2 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.3119, allocations: 60 kB / 351.3 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-05/0.312, allocations: 78.92 kB / 351.4 MB, free: 10.38 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002702/0.3147, allocations: 1.639 MB / 353 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009435/0.3242, allocations: 6.94 MB / 359.9 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007073/0.3249, allocations: 449 kB / 360.4 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/0.3251, allocations: 121.5 kB / 360.5 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.3252, allocations: 42.88 kB / 360.5 MB, free: 0.832 MB / 286.1 MB Notification: Performance of pre-optimization done (n=47): time 2.675e-06/0.3252, allocations: 0 / 360.5 MB, free: 0.832 MB / 286.1 MB Notification: Performance of matching and sorting (n=63): time 0.006782/0.332, allocations: 3.285 MB / 363.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00234/0.3343, allocations: 2.213 MB / 366 MB, free: 11.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.3366, allocations: 1.584 MB / 367.6 MB, free: 9.492 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.782e-05/0.3367, allocations: 37.7 kB / 367.7 MB, free: 9.449 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000757/0.3375, allocations: 1.022 MB / 368.7 MB, free: 8.414 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.3377, allocations: 240.8 kB / 368.9 MB, free: 8.176 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.136e-05/0.3377, allocations: 32.03 kB / 369 MB, free: 8.145 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3379, allocations: 377.8 kB / 369.3 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007278/0.3386, allocations: 0.5075 MB / 369.8 MB, free: 7.262 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.3399, allocations: 1.449 MB / 371.3 MB, free: 5.344 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.341, allocations: 0.8009 MB / 372.1 MB, free: 4.543 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.341, allocations: 8 kB / 372.1 MB, free: 4.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003305/0.3444, allocations: 2.141 MB / 374.2 MB, free: 2.379 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.3444, allocations: 23.98 kB / 374.3 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.001e-05/0.3444, allocations: 32.88 kB / 374.3 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005581/0.345, allocations: 230.4 kB / 374.5 MB, free: 2.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.3461, allocations: 391.3 kB / 374.9 MB, free: 1.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.3476, allocations: 1.737 MB / 376.6 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.3489, allocations: 139.3 kB / 376.8 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.349, allocations: 96 kB / 376.9 MB, free: 15.6 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 (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.0008503/0.3499, allocations: 0.5867 MB / 377.4 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.3501, allocations: 154.1 kB / 377.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.3519, allocations: 1.114 MB / 378.7 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.3519, allocations: 4.688 kB / 378.7 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3519, allocations: 4 kB / 378.7 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.3519, allocations: 3.984 kB / 378.7 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004995/0.3569, allocations: 3.363 MB / 382.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.357, allocations: 4 kB / 382.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004053/0.3574, allocations: 112.5 kB / 382.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006008/0.358, allocations: 234.4 kB / 382.4 MB, free: 9.832 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/0.3581, allocations: 20 kB / 382.4 MB, free: 9.812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003691/0.3617, allocations: 3.756 MB / 386.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002074/0.3638, allocations: 2.045 MB / 388.2 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002688/0.3666, allocations: 2.054 MB / 390.3 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007126/0.3673, allocations: 315 kB / 390.6 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.3675, allocations: 20.06 kB / 390.6 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006269/0.3681, allocations: 51.94 kB / 390.7 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.3682, allocations: 67.72 kB / 390.7 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/0.3683, allocations: 27.98 kB / 390.8 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001664/0.37, allocations: 1.039 MB / 391.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.37, allocations: 0 / 391.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001862/0.3718, allocations: 384 kB / 392.2 MB, free: 15.39 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 (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.000286/0.3721, allocations: 139 kB / 392.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00248/0.3746, allocations: 1.594 MB / 393.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3746, allocations: 4 kB / 393.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.3759, allocations: 0.8398 MB / 394.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.3774, allocations: 385.9 kB / 395.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005415/0.3829, allocations: 3.672 MB / 398.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/0.3842, allocations: 1.504 MB / 400.3 MB, free: 7.023 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.00128/0.3855, allocations: 354 kB / 400.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.3857, allocations: 111.4 kB / 400.8 MB, free: 6.562 MB / 334.1 MB Notification: Performance of SimCode: time 1.683e-06/0.3858, allocations: 0 / 400.8 MB, free: 6.562 MB / 334.1 MB Notification: Performance of Templates: time 0.03213/0.4179, allocations: 18.61 MB / 419.4 MB, free: 3.922 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) Environment - environmentSimulation: