Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001063/0.001063, allocations: 160.6 kB / 7.636 MB, free: 1.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.193/1.193, allocations: 170.7 MB / 178.7 MB, free: 7.031 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001673/0.001673, allocations: 104.3 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.127e-05/2.128e-05, allocations: 0 / 262.2 MB, free: 3.051 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2294, allocations: 38.76 MB / 301 MB, free: 39.13 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.118/0.3474, allocations: 102.3 MB / 403.3 MB, free: 9.238 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.3477, allocations: 86.89 kB / 403.4 MB, free: 9.156 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2889/0.6366, allocations: 55.61 MB / 459 MB, free: 83.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.6366, allocations: 0 / 459 MB, free: 83.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001926/0.6368, allocations: 81.88 kB / 459.1 MB, free: 83.82 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 744 * Number of variables: 744 Notification: Performance of Generate backend data structure: time 0.005193/0.642, allocations: 2.843 MB / 461.9 MB, free: 82.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.6421, allocations: 13.91 kB / 461.9 MB, free: 82.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009811/0.6431, allocations: 397.1 kB / 462.3 MB, free: 82.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002933/0.646, allocations: 1.912 MB / 464.2 MB, free: 81.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.7e-05/0.6461, allocations: 94.03 kB / 464.3 MB, free: 81.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003086/0.6464, allocations: 171.5 kB / 464.5 MB, free: 81.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003897/0.6503, allocations: 2.681 MB / 467.2 MB, free: 80.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004349/0.6547, allocations: 3.185 MB / 470.4 MB, free: 78.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.397e-05/0.6548, allocations: 11.73 kB / 470.4 MB, free: 78.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002052/0.655, allocations: 7.656 kB / 470.4 MB, free: 78.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.6551, allocations: 136.9 kB / 470.5 MB, free: 78.4 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01496/0.6701, allocations: 10.96 MB / 481.5 MB, free: 68.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.672, allocations: 1.91 MB / 483.4 MB, free: 66.33 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009898/0.673, allocations: 0.8982 MB / 484.3 MB, free: 65.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002899/0.6733, allocations: 147.9 kB / 484.4 MB, free: 65.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.6734, allocations: 47.88 kB / 484.5 MB, free: 65.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 3.096e-06/0.6734, allocations: 0 / 484.5 MB, free: 65.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=153): time 0.009115/0.6825, allocations: 5.554 MB / 490 MB, free: 59.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.6826, allocations: 68.72 kB / 490.1 MB, free: 59.53 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001824/0.6844, allocations: 1.291 MB / 491.4 MB, free: 58.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.6845, allocations: 29.7 kB / 491.4 MB, free: 58.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006371/0.6852, allocations: 1.384 MB / 492.8 MB, free: 56.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003071/0.6855, allocations: 0.5042 MB / 493.3 MB, free: 56.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.6856, allocations: 0 / 493.3 MB, free: 56.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.6857, allocations: 381.9 kB / 493.7 MB, free: 55.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009775/0.6867, allocations: 0.8278 MB / 494.5 MB, free: 55.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.6878, allocations: 1.358 MB / 495.9 MB, free: 53.49 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.6891, allocations: 1.072 MB / 496.9 MB, free: 52.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.6891, allocations: 4 kB / 496.9 MB, free: 52.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004059/0.6932, allocations: 2.797 MB / 499.7 MB, free: 49.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.6932, allocations: 12 kB / 499.8 MB, free: 49.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.6932, allocations: 16 kB / 499.8 MB, free: 49.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.6945, allocations: 0.5312 MB / 0.4886 GB, free: 49.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.6959, allocations: 443.3 kB / 0.489 GB, free: 48.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005582/0.7015, allocations: 6.014 MB / 0.4949 GB, free: 42.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.7033, allocations: 95.77 kB / 0.495 GB, free: 42.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001963/0.7036, allocations: 84.05 kB / 0.495 GB, free: 42.18 MB / 330.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 (213): * Single equations (assignments): 210 * 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.0003556/0.7039, allocations: 152.4 kB / 0.4952 GB, free: 42.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004657/0.7044, allocations: 197.5 kB / 0.4954 GB, free: 41.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004046/0.7084, allocations: 2.495 MB / 0.4978 GB, free: 39.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.7085, allocations: 16 kB / 0.4978 GB, free: 39.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.7085, allocations: 8.109 kB / 0.4978 GB, free: 39.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.7085, allocations: 7.969 kB / 0.4978 GB, free: 39.28 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008553/0.7171, allocations: 5.2 MB / 0.5029 GB, free: 34.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.7171, allocations: 7.938 kB / 0.5029 GB, free: 34.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.7182, allocations: 267.5 kB / 0.5032 GB, free: 33.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001363/0.7196, allocations: 0.5844 MB / 0.5038 GB, free: 33.15 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.7197, allocations: 19.94 kB / 0.5038 GB, free: 33.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006806/0.7265, allocations: 7.667 MB / 0.5113 GB, free: 25.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.7266, allocations: 7.938 kB / 0.5113 GB, free: 25.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005348/0.7319, allocations: 3.937 MB / 0.5151 GB, free: 21.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/0.7331, allocations: 462.5 kB / 0.5156 GB, free: 20.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005936/0.7337, allocations: 7.984 kB / 0.5156 GB, free: 20.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/0.735, allocations: 79.86 kB / 0.5156 GB, free: 20.49 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002806/0.7353, allocations: 113.1 kB / 0.5157 GB, free: 20.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.7355, allocations: 44 kB / 0.5158 GB, free: 20.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002199/0.7377, allocations: 0.9692 MB / 0.5167 GB, free: 19.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.7377, allocations: 0 / 0.5167 GB, free: 19.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002749/0.7404, allocations: 0.5155 MB / 0.5172 GB, free: 18.86 MB / 330.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 (125): * Single equations (assignments): 122 * 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.0006816/0.7411, allocations: 371.1 kB / 0.5176 GB, free: 18.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003686/0.7448, allocations: 2.492 MB / 0.52 GB, free: 15.99 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.7449, allocations: 4 kB / 0.52 GB, free: 15.99 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002086/0.747, allocations: 1.527 MB / 0.5215 GB, free: 14.44 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/0.7497, allocations: 387.8 kB / 0.5219 GB, free: 14.06 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.7601, allocations: 4.412 MB / 0.5262 GB, free: 9.582 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002385/0.7625, allocations: 2.25 MB / 0.5284 GB, free: 7.301 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001809/0.7643, allocations: 488.5 kB / 0.5289 GB, free: 6.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005377/0.7649, allocations: 127.4 kB / 0.529 GB, free: 6.695 MB / 330.7 MB Notification: Performance of SimCode: time 7.81e-07/0.7649, allocations: 0 / 0.529 GB, free: 6.695 MB / 330.7 MB Notification: Performance of Templates: time 0.2355/1, allocations: 24.93 MB / 0.5533 GB, free: 89.32 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.pipe 2>&1)