Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.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.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,tolerance=1e-05,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,tolerance=1e-05,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005427/0.005427, allocations: 165.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.233/1.233, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001592/0.001592, allocations: 107.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003162, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2407, allocations: 38.76 MB / 312.9 MB, free: 38.69 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.132/0.3727, allocations: 102.5 MB / 415.4 MB, free: 3.922 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.3731, allocations: 87.95 kB / 415.5 MB, free: 3.836 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8141/1.187, allocations: 160 MB / 0.562 GB, free: 42.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.946e-06/1.187, allocations: 0.5938 kB / 0.5621 GB, free: 42.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000852/1.188, allocations: 175.8 kB / 0.5622 GB, free: 42.37 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1809 * Number of variables: 1809 Notification: Performance of Generate backend data structure: time 0.0314/1.22, allocations: 7.007 MB / 0.5691 GB, free: 40.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/1.22, allocations: 8.938 kB / 0.5691 GB, free: 40.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007164/1.227, allocations: 1.11 MB / 0.5702 GB, free: 39.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01294/1.24, allocations: 4.918 MB / 0.575 GB, free: 38.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005663/1.24, allocations: 0.5037 MB / 0.5754 GB, free: 38.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002932/1.243, allocations: 0.669 MB / 0.5761 GB, free: 38.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02267/1.266, allocations: 8.852 MB / 0.5847 GB, free: 38.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000219/1.266, allocations: 8.312 kB / 0.5848 GB, free: 38.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001372/1.268, allocations: 290.2 kB / 0.585 GB, free: 38.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002773/1.268, allocations: 317.9 kB / 0.5853 GB, free: 38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.016/1.284, allocations: 6.87 MB / 0.592 GB, free: 37.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0531/1.337, allocations: 27.7 MB / 0.6191 GB, free: 28.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005711/1.343, allocations: 5.47 MB / 0.6244 GB, free: 24.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/1.343, allocations: 35.88 kB / 0.6245 GB, free: 24.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.711e-05/1.343, allocations: 74.02 kB / 0.6245 GB, free: 24.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=268): time 5.45e-06/1.343, allocations: 0 / 0.6245 GB, free: 24.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=316): time 0.02834/1.371, allocations: 13.82 MB / 0.638 GB, free: 17.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/1.372, allocations: 91.33 kB / 0.6381 GB, free: 17.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005118/1.377, allocations: 3.085 MB / 0.6411 GB, free: 16.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000533/1.377, allocations: 77.05 kB / 0.6412 GB, free: 16.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002316/1.38, allocations: 2.997 MB / 0.6441 GB, free: 14.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001363/1.381, allocations: 1.071 MB / 0.6452 GB, free: 13.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/1.381, allocations: 74.56 kB / 0.6453 GB, free: 13.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002895/1.381, allocations: 455.1 kB / 0.6457 GB, free: 12.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00263/1.384, allocations: 1.611 MB / 0.6473 GB, free: 12.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003239/1.387, allocations: 2.602 MB / 0.6498 GB, free: 10.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003263/1.391, allocations: 2.096 MB / 0.6518 GB, free: 8.766 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.715e-05/1.391, allocations: 8 kB / 0.6519 GB, free: 8.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=477) (initialization): time 0.01036/1.401, allocations: 5.659 MB / 0.6574 GB, free: 3.844 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.643e-05/1.401, allocations: 20 kB / 0.6574 GB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.245e-05/1.401, allocations: 28 kB / 0.6574 GB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002497/1.404, allocations: 0.9605 MB / 0.6584 GB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003286/1.407, allocations: 0.7853 MB / 0.6591 GB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01688/1.424, allocations: 15.17 MB / 0.6739 GB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004077/1.428, allocations: 171.1 kB / 0.6741 GB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005643/1.429, allocations: 151.7 kB / 0.6743 GB, free: 3.285 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * 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 (407): * Single equations (assignments): 399 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,93.8%) 18,(1,100.0%) 1,(1,100.0%) 5,(4,93.8%) 18,(1,100.0%) 1,(3,77.8%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006733/1.435, allocations: 2.12 MB / 0.6763 GB, free: 1.461 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001307/1.437, allocations: 399.1 kB / 0.6767 GB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.244/1.681, allocations: 5.269 MB / 0.6818 GB, free: 51.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-05/1.681, allocations: 32.91 kB / 0.6819 GB, free: 51.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.427e-05/1.681, allocations: 15.16 kB / 0.6819 GB, free: 51.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-05/1.681, allocations: 19.39 kB / 0.6819 GB, free: 51.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02272/1.704, allocations: 12.78 MB / 0.6944 GB, free: 50.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.025e-05/1.704, allocations: 3.344 kB / 0.6944 GB, free: 50.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002123/1.706, allocations: 470.7 kB / 0.6948 GB, free: 50.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002731/1.709, allocations: 1.059 MB / 0.6959 GB, free: 50.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003113/1.709, allocations: 79.05 kB / 0.696 GB, free: 50.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01836/1.727, allocations: 18.46 MB / 0.714 GB, free: 41.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.358e-05/1.727, allocations: 13.28 kB / 0.714 GB, free: 41.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/1.74, allocations: 7.813 MB / 0.7216 GB, free: 39.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003356/1.743, allocations: 0.8293 MB / 0.7224 GB, free: 39.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00154/1.745, allocations: 71.31 kB / 0.7225 GB, free: 39.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002684/1.748, allocations: 152 kB / 0.7226 GB, free: 39.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000613/1.748, allocations: 243.1 kB / 0.7229 GB, free: 39.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001984/1.748, allocations: 93.62 kB / 0.723 GB, free: 39.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004447/1.753, allocations: 2.357 MB / 0.7253 GB, free: 39.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.753, allocations: 0 / 0.7253 GB, free: 39.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007047/1.76, allocations: 1.269 MB / 0.7265 GB, free: 39.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.stator.strayReluctance.Phi.re,smpmM.stator.strayReluctance.Phi.im,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.stator.strayReluctance.Phi.re,smpm3.stator.strayReluctance.Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController.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 (236): * Single equations (assignments): 229 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(4,93.8%) 16,(1,100.0%) 5,(4,93.8%) 16,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001412/1.761, allocations: 0.5295 MB / 0.727 GB, free: 39.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009653/1.771, allocations: 5.302 MB / 0.7322 GB, free: 38.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/1.771, allocations: 2.344 kB / 0.7322 GB, free: 38.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005765/1.777, allocations: 3.367 MB / 0.7355 GB, free: 37.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007234/1.784, allocations: 1.032 MB / 0.7365 GB, free: 37.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.028/1.812, allocations: 15.13 MB / 0.7513 GB, free: 29.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005172/1.817, allocations: 4.452 MB / 0.7556 GB, free: 27.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003578/1.821, allocations: 0.7823 MB / 0.7564 GB, free: 27.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008835/1.822, allocations: 257.2 kB / 0.7566 GB, free: 27.46 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/1.822, allocations: 0 / 0.7566 GB, free: 27.46 MB / 378.7 MB Notification: Performance of Templates: time 0.11/1.932, allocations: 63.58 MB / 0.8187 GB, free: 8.293 MB / 394.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1)