Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.00135, allocations: 114 kB / 17.06 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.001385/0.001386, allocations: 200 kB / 18 MB, free: 5.078 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.703/1.703, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001244/0.001244, allocations: 51.92 kB / 327.9 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1063, allocations: 46.61 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.2769/0.3833, allocations: 10.88 MB / 385.4 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.3937, allocations: 3.672 MB / 389.1 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003249/0.397, allocations: 56.88 kB / 389.1 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002936/0.4, allocations: 0.8185 MB / 389.9 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005216/0.4052, allocations: 0.8525 MB / 390.8 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.4069, allocations: 471.2 kB / 391.2 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005537/0.4125, allocations: 2.948 MB / 394.2 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003847/0.4163, allocations: 2.686 MB / 396.9 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003167/0.4195, allocations: 1.368 MB / 398.2 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003759/0.4233, allocations: 1.756 MB / 400 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.4244, allocations: 374 kB / 400.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.4261, allocations: 479.2 kB / 400.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001492/0.4277, allocations: 1.072 MB / 401.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003158/0.4308, allocations: 1.673 MB / 403.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007956/0.4388, allocations: 4.875 MB / 408.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.4388, allocations: 0 / 408.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.4388, allocations: 1.125 kB / 408.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001716/0.439, allocations: 0 / 408.5 MB, free: 10.93 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.01102/0.4501, allocations: 3.395 MB / 411.8 MB, free: 8.594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.486e-05/0.4501, allocations: 12.67 kB / 411.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/0.4515, allocations: 339.8 kB / 412.2 MB, free: 8.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004311/0.4558, allocations: 1.697 MB / 413.9 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002417/0.4561, allocations: 195.5 kB / 414.1 MB, free: 7.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006445/0.4567, allocations: 255.9 kB / 414.3 MB, free: 7.027 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007685/0.4644, allocations: 3.283 MB / 417.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.62e-05/0.4645, allocations: 7.906 kB / 417.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002476/0.4648, allocations: 107.9 kB / 417.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001585/0.465, allocations: 120.9 kB / 417.8 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005281/0.4702, allocations: 2.748 MB / 420.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02025/0.4905, allocations: 10.39 MB / 431 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/0.4926, allocations: 1.347 MB / 432.3 MB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/0.4939, allocations: 0.754 MB / 433.1 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003646/0.4943, allocations: 207.2 kB / 433.3 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.4943, allocations: 39.56 kB / 433.3 MB, free: 4.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 3.426e-06/0.4943, allocations: 0 / 433.3 MB, free: 4.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.01632/0.5107, allocations: 7.038 MB / 440.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.5108, allocations: 64.41 kB / 440.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002736/0.5135, allocations: 1.786 MB / 442.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.5136, allocations: 45.7 kB / 442.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.5147, allocations: 1.275 MB / 443.5 MB, free: 9.859 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/0.515, allocations: 434.5 kB / 444 MB, free: 9.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004439/0.5155, allocations: 295.2 kB / 444.2 MB, free: 9.133 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.5156, allocations: 305.1 kB / 444.5 MB, free: 8.832 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.5167, allocations: 0.7769 MB / 445.3 MB, free: 8.055 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/0.5181, allocations: 1.297 MB / 446.6 MB, free: 6.527 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00268/0.5208, allocations: 2.219 MB / 448.8 MB, free: 4.074 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.5208, allocations: 4 kB / 448.8 MB, free: 4.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004501/0.5254, allocations: 2.471 MB / 451.3 MB, free: 1.578 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.5254, allocations: 12 kB / 451.3 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/0.5255, allocations: 20 kB / 451.3 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006468/0.5261, allocations: 247.2 kB / 451.6 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.5276, allocations: 419.4 kB / 452 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/0.5303, allocations: 3.234 MB / 455.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.5322, allocations: 127.7 kB / 455.3 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.5323, allocations: 79.92 kB / 455.4 MB, free: 13.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (198): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 2 systems {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001696/0.534, allocations: 0.8174 MB / 456.2 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004505/0.5345, allocations: 185.7 kB / 456.4 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003567/0.538, allocations: 2.046 MB / 458.5 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.5381, allocations: 12 kB / 458.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.5381, allocations: 0 / 458.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.5381, allocations: 3.984 kB / 458.5 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008975/0.5471, allocations: 4.737 MB / 463.2 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.5471, allocations: 4 kB / 463.2 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.5482, allocations: 267.9 kB / 463.5 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005379/0.5488, allocations: 203.3 kB / 463.7 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.279e-05/0.5489, allocations: 24 kB / 463.7 MB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002634/0.5515, allocations: 3.218 MB / 466.9 MB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.5516, allocations: 3.938 kB / 466.9 MB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004645/0.5562, allocations: 3.12 MB / 470.1 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001295/0.5575, allocations: 430.7 kB / 470.5 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002786/0.5578, allocations: 28 kB / 470.5 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009676/0.5588, allocations: 91.88 kB / 470.6 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/0.559, allocations: 80.89 kB / 470.7 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.791e-05/0.5591, allocations: 35.98 kB / 470.7 MB, free: 13.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002005/0.5611, allocations: 1.216 MB / 471.9 MB, free: 12.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5611, allocations: 4 kB / 471.9 MB, free: 12.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001946/0.563, allocations: 484 kB / 472.4 MB, free: 11.69 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.phi) * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 2 systems {(2,1,100.0%), (1,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.0004226/0.5635, allocations: 191 kB / 472.6 MB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003758/0.5672, allocations: 2.351 MB / 474.9 MB, free: 9.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.5673, allocations: 0 / 474.9 MB, free: 9.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001837/0.5691, allocations: 1.339 MB / 476.3 MB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/0.5716, allocations: 0.4996 MB / 476.8 MB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008389/0.58, allocations: 4.838 MB / 481.6 MB, free: 2.262 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001701/0.5818, allocations: 2.022 MB / 483.6 MB, free: 208 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001551/0.5833, allocations: 0.496 MB / 484.1 MB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/0.5838, allocations: 135.4 kB / 484.3 MB, free: 15.57 MB / 414.1 MB Notification: Performance of SimCode: time 2.174e-06/0.5838, allocations: 0 / 484.3 MB, free: 15.57 MB / 414.1 MB Notification: Performance of Templates: time 0.04768/0.6315, allocations: 26.61 MB / 0.4989 GB, free: 4.918 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1)