Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001543/0.001543, allocations: 182.6 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.291/1.291, allocations: 194.2 MB / 208.4 MB, free: 6.715 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001512/0.001512, allocations: 112.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.593e-05/2.599e-05, allocations: 8 kB / 305 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07205/0.07209, allocations: 44.49 MB / 349.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3294/0.4015, allocations: 108.3 MB / 457.7 MB, free: 3.516 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.4018, allocations: 85.77 kB / 457.8 MB, free: 3.473 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1545/0.5563, allocations: 58.32 MB / 0.504 GB, free: 15.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.5564, allocations: 0 / 0.504 GB, free: 15.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002356/0.5566, allocations: 79.88 kB / 0.5041 GB, free: 15.63 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 742 * Number of variables: 742 Notification: Performance of Generate backend data structure: time 0.006543/0.5632, allocations: 2.865 MB / 0.5069 GB, free: 12.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.5633, allocations: 12.03 kB / 0.5069 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.5646, allocations: 407.6 kB / 0.5073 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004457/0.5691, allocations: 2.164 MB / 0.5094 GB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.5692, allocations: 213.7 kB / 0.5096 GB, free: 9.855 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004362/0.5697, allocations: 283.9 kB / 0.5099 GB, free: 9.578 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006219/0.5759, allocations: 3.59 MB / 0.5134 GB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-05/0.576, allocations: 15.83 kB / 0.5134 GB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002725/0.5763, allocations: 116 kB / 0.5135 GB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001391/0.5765, allocations: 137.5 kB / 0.5137 GB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004899/0.5814, allocations: 2.856 MB / 0.5165 GB, free: 2.703 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0196/0.601, allocations: 11.63 MB / 0.5278 GB, free: 6.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002678/0.6037, allocations: 1.928 MB / 0.5297 GB, free: 4.684 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.6051, allocations: 0.9255 MB / 0.5306 GB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003987/0.6055, allocations: 223.5 kB / 0.5308 GB, free: 3.504 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/0.6056, allocations: 51.86 kB / 0.5309 GB, free: 3.445 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 3.457e-06/0.6056, allocations: 3.938 kB / 0.5309 GB, free: 3.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=148): time 0.2264/0.832, allocations: 6.353 MB / 0.5371 GB, free: 87.78 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.8321, allocations: 68.19 kB / 0.5371 GB, free: 87.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002574/0.8347, allocations: 1.71 MB / 0.5388 GB, free: 87.49 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.8348, allocations: 51.2 kB / 0.5389 GB, free: 87.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007934/0.8356, allocations: 1.394 MB / 0.5402 GB, free: 87 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000319/0.8359, allocations: 0.5054 MB / 0.5407 GB, free: 86.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.705e-05/0.836, allocations: 38.5 kB / 0.5408 GB, free: 86.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.8361, allocations: 380.7 kB / 0.5411 GB, free: 86.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.8373, allocations: 0.8523 MB / 0.542 GB, free: 86.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.8387, allocations: 1.388 MB / 0.5433 GB, free: 85.81 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.8402, allocations: 1.093 MB / 0.5444 GB, free: 85.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.8403, allocations: 4.219 kB / 0.5444 GB, free: 85.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.005163/0.8454, allocations: 2.979 MB / 0.5473 GB, free: 85.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.8455, allocations: 12.12 kB / 0.5473 GB, free: 85.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.411e-05/0.8455, allocations: 21.44 kB / 0.5473 GB, free: 85.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/0.8469, allocations: 0.5458 MB / 0.5479 GB, free: 85.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.8486, allocations: 440.1 kB / 0.5483 GB, free: 85.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006414/0.855, allocations: 6.267 MB / 0.5544 GB, free: 82.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/0.8571, allocations: 135.1 kB / 0.5545 GB, free: 82.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.8573, allocations: 75.22 kB / 0.5546 GB, free: 82.93 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 205 * 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: 2 {(5,76.0%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003563/0.8576, allocations: 225 kB / 0.5548 GB, free: 82.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003303/0.858, allocations: 209.1 kB / 0.555 GB, free: 82.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003966/0.862, allocations: 2.61 MB / 0.5576 GB, free: 82.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.862, allocations: 21.47 kB / 0.5576 GB, free: 82.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.862, allocations: 3.875 kB / 0.5576 GB, free: 82.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.862, allocations: 12.33 kB / 0.5576 GB, free: 82.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008633/0.8707, allocations: 5.699 MB / 0.5632 GB, free: 82.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.8707, allocations: 5.5 kB / 0.5632 GB, free: 82.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009941/0.8717, allocations: 253 kB / 0.5634 GB, free: 82.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001332/0.873, allocations: 0.579 MB / 0.564 GB, free: 81.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-05/0.8732, allocations: 34.42 kB / 0.564 GB, free: 81.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00688/0.88, allocations: 7.978 MB / 0.5718 GB, free: 76.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.8801, allocations: 5.656 kB / 0.5718 GB, free: 76.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005019/0.8851, allocations: 4.017 MB / 0.5757 GB, free: 74.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/0.8863, allocations: 492.7 kB / 0.5762 GB, free: 74.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/0.8866, allocations: 36.83 kB / 0.5762 GB, free: 74.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.8876, allocations: 99.83 kB / 0.5763 GB, free: 74.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/0.8878, allocations: 105.1 kB / 0.5764 GB, free: 74.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.91e-05/0.8879, allocations: 44.84 kB / 0.5765 GB, free: 74.15 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001757/0.8897, allocations: 1.304 MB / 0.5777 GB, free: 73.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.8897, allocations: 0 / 0.5777 GB, free: 73.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002062/0.8918, allocations: 0.616 MB / 0.5783 GB, free: 73.54 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,voltageController.PI_d.x,voltageController.PI_q.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,76.0%) 20,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005765/0.8924, allocations: 402.2 kB / 0.5787 GB, free: 73.42 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003302/0.8957, allocations: 2.565 MB / 0.5812 GB, free: 72.35 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.8957, allocations: 2.906 kB / 0.5812 GB, free: 72.35 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001958/0.8977, allocations: 1.575 MB / 0.5828 GB, free: 71.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.8997, allocations: 498.7 kB / 0.5832 GB, free: 71.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006617/0.9063, allocations: 4.598 MB / 0.5877 GB, free: 69.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/0.9079, allocations: 2.263 MB / 0.5899 GB, free: 68.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00144/0.9093, allocations: 0.4923 MB / 0.5904 GB, free: 68.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003984/0.9097, allocations: 147.8 kB / 0.5906 GB, free: 68.54 MB / 394.7 MB Notification: Performance of SimCode: time 1.153e-06/0.9097, allocations: 6.812 kB / 0.5906 GB, free: 68.54 MB / 394.7 MB Notification: Performance of Templates: time 0.0475/0.9572, allocations: 33.12 MB / 0.6229 GB, free: 52.8 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe 2>&1)