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.0009479/0.000948, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007048/0.007048, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.873/1.873, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.0004976/0.0004975, allocations: 14.81 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3359, allocations: 47.59 MB / 327 MB, free: 1.23 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.0108/0.3467, allocations: 8.416 MB / 335.5 MB, free: 10.57 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008018/0.3548, allocations: 3.149 MB / 338.6 MB, free: 7.688 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002286/0.3571, allocations: 31.88 kB / 338.6 MB, free: 7.656 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002303/0.3595, allocations: 0.5983 MB / 339.2 MB, free: 7.055 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003313/0.3628, allocations: 0.6295 MB / 339.9 MB, free: 6.422 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.3639, allocations: 287.6 kB / 340.1 MB, free: 6.141 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003541/0.3675, allocations: 2.429 MB / 342.6 MB, free: 3.703 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/0.3695, allocations: 1.164 MB / 343.7 MB, free: 2.496 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.371, allocations: 0.7117 MB / 344.4 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.373, allocations: 0.988 MB / 345.4 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000527/0.3735, allocations: 104 kB / 345.5 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00093/0.3745, allocations: 203.8 kB / 345.7 MB, free: 500 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000784/0.3753, allocations: 0.5256 MB / 346.3 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001615/0.3769, allocations: 0.9459 MB / 347.2 MB, free: 15 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003332/0.3802, allocations: 2.915 MB / 350.1 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.3803, allocations: 4 kB / 350.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3803, allocations: 0 / 350.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001176/0.3804, allocations: 4 kB / 350.1 MB, free: 12.07 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.00463/0.385, allocations: 1.927 MB / 352.1 MB, free: 10.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.3851, allocations: 12.03 kB / 352.1 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006869/0.3858, allocations: 222.4 kB / 352.3 MB, free: 9.855 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/0.3876, allocations: 1.149 MB / 353.4 MB, free: 8.648 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.222e-05/0.3877, allocations: 111.5 kB / 353.5 MB, free: 8.539 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/0.3879, allocations: 159.9 kB / 353.7 MB, free: 8.383 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003217/0.3911, allocations: 2.008 MB / 355.7 MB, free: 6.324 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.466e-05/0.3912, allocations: 3.906 kB / 355.7 MB, free: 6.32 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/0.3913, allocations: 68 kB / 355.8 MB, free: 6.254 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.429e-05/0.3914, allocations: 78.91 kB / 355.9 MB, free: 6.176 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0027/0.3942, allocations: 1.647 MB / 357.5 MB, free: 4.523 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009874/0.404, allocations: 6.971 MB / 364.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00077/0.4049, allocations: 452.9 kB / 364.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003843/0.4053, allocations: 262 kB / 365.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/0.4055, allocations: 109.5 kB / 365.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.4055, allocations: 39 kB / 365.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.244e-06/0.4055, allocations: 0 / 365.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.006911/0.4125, allocations: 3.304 MB / 368.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002571/0.415, allocations: 2.174 MB / 370.8 MB, free: 6.609 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003304/0.4184, allocations: 1.612 MB / 372.4 MB, free: 4.988 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.4185, allocations: 37.7 kB / 372.4 MB, free: 4.945 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001197/0.4197, allocations: 1.018 MB / 373.5 MB, free: 3.914 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003313/0.4201, allocations: 244.8 kB / 373.7 MB, free: 3.672 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003405/0.4204, allocations: 129.6 kB / 373.8 MB, free: 3.539 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4206, allocations: 301.1 kB / 374.1 MB, free: 3.242 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.422, allocations: 0.5153 MB / 374.6 MB, free: 2.727 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002263/0.4242, allocations: 1.468 MB / 376.1 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003735/0.428, allocations: 2.138 MB / 378.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.088e-05/0.428, allocations: 8 kB / 378.2 MB, free: 14.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005808/0.4339, allocations: 2.153 MB / 380.4 MB, free: 12 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.4339, allocations: 20 kB / 380.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.181e-05/0.434, allocations: 36.06 kB / 380.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008089/0.4348, allocations: 234.9 kB / 380.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/0.4367, allocations: 391.3 kB / 381.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.4391, allocations: 1.718 MB / 382.8 MB, free: 9.473 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/0.4414, allocations: 135.4 kB / 382.9 MB, free: 9.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003335/0.4417, allocations: 99.98 kB / 383 MB, free: 9.242 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.00173/0.4435, allocations: 0.5944 MB / 383.6 MB, free: 8.637 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005457/0.444, allocations: 158 kB / 383.8 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003807/0.4478, allocations: 1.102 MB / 384.9 MB, free: 7.355 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.4479, allocations: 11.94 kB / 384.9 MB, free: 7.344 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.4479, allocations: 3.984 kB / 384.9 MB, free: 7.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.4479, allocations: 4 kB / 384.9 MB, free: 7.336 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/0.458, allocations: 3.382 MB / 388.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.4581, allocations: 8 kB / 388.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009376/0.459, allocations: 111.8 kB / 388.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/0.4602, allocations: 231 kB / 388.6 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.32e-05/0.4603, allocations: 20 kB / 388.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006789/0.4671, allocations: 3.709 MB / 392.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003404/0.4705, allocations: 2.006 MB / 394.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/0.4751, allocations: 1.742 MB / 396.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.4762, allocations: 311.3 kB / 396.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004085/0.4766, allocations: 16 kB / 396.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.4781, allocations: 55.95 kB / 396.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/0.4783, allocations: 63.78 kB / 396.5 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-05/0.4784, allocations: 28.3 kB / 396.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.003393/0.4818, allocations: 1.074 MB / 397.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4819, allocations: 0 / 397.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003246/0.4851, allocations: 380 kB / 398 MB, free: 9.531 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.0005923/0.4857, allocations: 171 kB / 398.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004996/0.4907, allocations: 1.609 MB / 399.8 MB, free: 7.695 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.4908, allocations: 0 / 399.8 MB, free: 7.695 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002479/0.4933, allocations: 0.8481 MB / 400.6 MB, free: 6.801 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005318/0.4986, allocations: 397.5 kB / 401 MB, free: 6.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.5089, allocations: 3.883 MB / 404.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001764/0.5107, allocations: 1.469 MB / 406.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001281/0.512, allocations: 354 kB / 406.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004035/0.5124, allocations: 115.4 kB / 406.8 MB, free: 468 kB / 334.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5124, allocations: 0 / 406.8 MB, free: 468 kB / 334.1 MB Notification: Performance of Templates: time 0.0385/0.551, allocations: 19.34 MB / 426.2 MB, free: 13.09 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (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)