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.001502/0.001503, allocations: 187 kB / 8.352 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.343/1.343, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001681/0.001681, allocations: 117.8 kB / 248.1 MB, free: 6.332 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.638e-05/1.631e-05, allocations: 0 / 298.1 MB, free: 8.23 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07363/0.07366, allocations: 44.51 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2729/0.3466, allocations: 107.6 MB / 450.2 MB, free: 4.621 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.3469, allocations: 90 kB / 450.3 MB, free: 4.574 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1563/0.5032, allocations: 57.52 MB / 0.4959 GB, free: 2.043 MB / 379.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5032, allocations: 0 / 0.4959 GB, free: 2.043 MB / 379.1 MB Notification: Performance of Transformations before backend: time 0.0002765/0.5035, allocations: 79.88 kB / 0.496 GB, free: 1.965 MB / 379.1 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.00703/0.5106, allocations: 2.881 MB / 0.4988 GB, free: 15.02 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.5106, allocations: 8.031 kB / 0.4988 GB, free: 15.01 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.5121, allocations: 403.6 kB / 0.4992 GB, free: 14.61 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00489/0.5171, allocations: 2.164 MB / 0.5013 GB, free: 12.39 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.5172, allocations: 91.98 kB / 0.5014 GB, free: 12.3 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006288/0.5179, allocations: 171.9 kB / 0.5016 GB, free: 12.14 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005305/0.5232, allocations: 2.667 MB / 0.5042 GB, free: 9.465 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006052/0.5292, allocations: 3.188 MB / 0.5073 GB, free: 6.133 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.109e-05/0.5293, allocations: 7.906 kB / 0.5073 GB, free: 6.125 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/0.5296, allocations: 4 kB / 0.5073 GB, free: 6.121 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001468/0.5297, allocations: 133.5 kB / 0.5074 GB, free: 5.988 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1972/0.7269, allocations: 11.09 MB / 0.5182 GB, free: 75.86 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/0.7292, allocations: 1.919 MB / 0.5201 GB, free: 75.27 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.7303, allocations: 0.9003 MB / 0.521 GB, free: 75.26 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003188/0.7306, allocations: 228.2 kB / 0.5212 GB, free: 75.07 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.7307, allocations: 45.81 kB / 0.5213 GB, free: 75.04 MB / 395.1 MB Notification: Performance of pre-optimization done (n=133): time 3.757e-06/0.7307, allocations: 0 / 0.5213 GB, free: 75.04 MB / 395.1 MB Notification: Performance of matching and sorting (n=154): time 0.009153/0.7399, allocations: 5.576 MB / 0.5267 GB, free: 74.29 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.7399, allocations: 68.84 kB / 0.5268 GB, free: 74.23 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002273/0.7422, allocations: 1.459 MB / 0.5282 GB, free: 74.07 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 9.314e-05/0.7423, allocations: 25.7 kB / 0.5282 GB, free: 74.04 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007968/0.7431, allocations: 1.396 MB / 0.5296 GB, free: 73.56 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003539/0.7434, allocations: 0.5026 MB / 0.5301 GB, free: 73.27 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.636e-05/0.7436, allocations: 6.656 kB / 0.5301 GB, free: 73.27 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.7437, allocations: 383.9 kB / 0.5304 GB, free: 72.96 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.7447, allocations: 0.8273 MB / 0.5313 GB, free: 72.96 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.7459, allocations: 1.359 MB / 0.5326 GB, free: 72.34 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.7472, allocations: 1.075 MB / 0.5336 GB, free: 72.33 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/0.7473, allocations: 3.125 kB / 0.5336 GB, free: 72.33 MB / 395.1 MB Notification: Performance of matching and sorting (n=240) (initialization): time 0.00409/0.7514, allocations: 2.812 MB / 0.5364 GB, free: 72.13 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.7514, allocations: 12.03 kB / 0.5364 GB, free: 72.13 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/0.7514, allocations: 16.88 kB / 0.5364 GB, free: 72.13 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.7526, allocations: 0.5416 MB / 0.5369 GB, free: 72.1 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.7542, allocations: 447.9 kB / 0.5374 GB, free: 72.1 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006243/0.7604, allocations: 6.004 MB / 0.5432 GB, free: 69.57 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.7621, allocations: 107 kB / 0.5433 GB, free: 69.57 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002362/0.7624, allocations: 86.5 kB / 0.5434 GB, free: 69.57 MB / 395.1 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 (214): * Single equations (assignments): 211 * 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.0003571/0.7627, allocations: 158.1 kB / 0.5436 GB, free: 69.44 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005192/0.7633, allocations: 200.7 kB / 0.5438 GB, free: 69.34 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004655/0.7679, allocations: 2.514 MB / 0.5462 GB, free: 69.2 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.768, allocations: 18.72 kB / 0.5462 GB, free: 69.2 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/0.768, allocations: 5.5 kB / 0.5462 GB, free: 69.2 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/0.768, allocations: 10.72 kB / 0.5462 GB, free: 69.2 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009782/0.7778, allocations: 5.291 MB / 0.5514 GB, free: 68.2 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/0.7778, allocations: 2.344 kB / 0.5514 GB, free: 68.2 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.779, allocations: 269.2 kB / 0.5517 GB, free: 68.19 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001483/0.7805, allocations: 0.5728 MB / 0.5522 GB, free: 68.04 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.7806, allocations: 16.19 kB / 0.5522 GB, free: 68.04 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00769/0.7883, allocations: 7.676 MB / 0.5597 GB, free: 62.75 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.7884, allocations: 4.281 kB / 0.5597 GB, free: 62.75 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004848/0.7932, allocations: 3.963 MB / 0.5636 GB, free: 60.94 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009542/0.7942, allocations: 479.9 kB / 0.5641 GB, free: 60.65 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000395/0.7946, allocations: 7.156 kB / 0.5641 GB, free: 60.65 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.7957, allocations: 86.44 kB / 0.5642 GB, free: 60.65 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.7959, allocations: 114.6 kB / 0.5643 GB, free: 60.63 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.606e-05/0.796, allocations: 44.94 kB / 0.5643 GB, free: 60.62 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001563/0.7976, allocations: 1.09 MB / 0.5654 GB, free: 60.18 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7976, allocations: 0 / 0.5654 GB, free: 60.18 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002014/0.7996, allocations: 0.5213 MB / 0.5659 GB, free: 60.17 MB / 395.1 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 (126): * Single equations (assignments): 123 * 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.0005675/0.8002, allocations: 393.7 kB / 0.5663 GB, free: 60.05 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.003157/0.8034, allocations: 2.486 MB / 0.5687 GB, free: 59 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.8034, allocations: 3.281 kB / 0.5687 GB, free: 59 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001873/0.8053, allocations: 1.537 MB / 0.5702 GB, free: 58.28 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/0.8072, allocations: 414.8 kB / 0.5706 GB, free: 58.18 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00716/0.8144, allocations: 4.542 MB / 0.575 GB, free: 56.34 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001955/0.8164, allocations: 2.266 MB / 0.5772 GB, free: 55.34 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.001586/0.818, allocations: 0.5028 MB / 0.5777 GB, free: 55.29 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005079/0.8185, allocations: 146.1 kB / 0.5779 GB, free: 55.28 MB / 395.1 MB Notification: Performance of SimCode: time 1.342e-06/0.8185, allocations: 0 / 0.5779 GB, free: 55.28 MB / 395.1 MB Notification: Performance of Templates: time 0.03908/0.8576, allocations: 26.57 MB / 0.6038 GB, free: 52.7 MB / 395.1 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)