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.0009607/0.0009607, allocations: 171.5 kB / 7.638 MB, free: 1.418 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.352/1.352, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.001553/0.001554, allocations: 111.4 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.866e-05/1.869e-05, allocations: 4 kB / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08353/0.08357, allocations: 38.78 MB / 301 MB, free: 3.613 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.327/0.4106, allocations: 101.8 MB / 402.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.4109, allocations: 81.08 kB / 402.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5508/0.9617, allocations: 158.2 MB / 0.5479 GB, free: 42.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.9617, allocations: 3.938 kB / 0.5479 GB, free: 42.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0007357/0.9624, allocations: 171.8 kB / 0.548 GB, free: 42.76 MB / 346.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.01991/0.9824, allocations: 6.417 MB / 0.5543 GB, free: 36.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.9824, allocations: 12.03 kB / 0.5543 GB, free: 36.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00623/0.9887, allocations: 1.115 MB / 0.5554 GB, free: 35.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01381/1.003, allocations: 4.887 MB / 0.5602 GB, free: 30.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003941/1.003, allocations: 228 kB / 0.5604 GB, free: 30.01 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002883/1.006, allocations: 411.8 kB / 0.5608 GB, free: 29.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.015/1.021, allocations: 6.248 MB / 0.5669 GB, free: 23.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02172/1.043, allocations: 7.689 MB / 0.5744 GB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003331/1.043, allocations: 11.91 kB / 0.5744 GB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00183/1.045, allocations: 7.953 kB / 0.5744 GB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000264/1.045, allocations: 309.7 kB / 0.5747 GB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4811/1.526, allocations: 26.36 MB / 0.6005 GB, free: 35.85 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006354/1.533, allocations: 5.282 MB / 0.6056 GB, free: 33.47 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003142/1.536, allocations: 2.294 MB / 0.6079 GB, free: 33.44 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/1.536, allocations: 36.09 kB / 0.6079 GB, free: 33.43 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/1.536, allocations: 64.62 kB / 0.608 GB, free: 33.39 MB / 346.8 MB Notification: Performance of pre-optimization done (n=270): time 5.46e-06/1.536, allocations: 0 / 0.608 GB, free: 33.39 MB / 346.8 MB Notification: Performance of matching and sorting (n=322): time 0.01704/1.553, allocations: 9.789 MB / 0.6175 GB, free: 31.85 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/1.553, allocations: 89.47 kB / 0.6176 GB, free: 31.79 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003676/1.557, allocations: 2.397 MB / 0.6199 GB, free: 31.55 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002665/1.557, allocations: 29.67 kB / 0.62 GB, free: 31.52 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00153/1.559, allocations: 3.007 MB / 0.6229 GB, free: 30.22 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007363/1.559, allocations: 1.046 MB / 0.6239 GB, free: 29.52 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/1.56, allocations: 0 / 0.6239 GB, free: 29.52 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 0.0001688/1.56, allocations: 457.8 kB / 0.6244 GB, free: 29.21 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/1.562, allocations: 1.442 MB / 0.6258 GB, free: 29.21 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002173/1.564, allocations: 2.464 MB / 0.6282 GB, free: 28.04 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/1.566, allocations: 1.947 MB / 0.6301 GB, free: 27.99 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.767e-05/1.566, allocations: 8.375 kB / 0.6301 GB, free: 27.99 MB / 346.8 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.007699/1.574, allocations: 5.108 MB / 0.6351 GB, free: 27.5 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/1.574, allocations: 16.53 kB / 0.6351 GB, free: 27.5 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.484e-05/1.574, allocations: 35.44 kB / 0.6351 GB, free: 27.5 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002091/1.576, allocations: 0.9346 MB / 0.636 GB, free: 27.43 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002708/1.579, allocations: 0.7824 MB / 0.6368 GB, free: 27.43 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01216/1.591, allocations: 14.55 MB / 0.651 GB, free: 18.43 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003538/1.595, allocations: 85.56 kB / 0.6511 GB, free: 18.43 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006162/1.595, allocations: 152.8 kB / 0.6512 GB, free: 18.4 MB / 346.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (409): * Single equations (assignments): 401 * 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%) 20,(1,100.0%) 1,(1,100.0%) 5,(4,93.8%) 20,(1,100.0%) 1,(1,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000751/1.596, allocations: 206.2 kB / 0.6514 GB, free: 18.27 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009312/1.597, allocations: 365.3 kB / 0.6518 GB, free: 18.08 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007557/1.604, allocations: 4.556 MB / 0.6562 GB, free: 16.07 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.772e-05/1.604, allocations: 31.31 kB / 0.6563 GB, free: 16.07 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-05/1.605, allocations: 19.16 kB / 0.6563 GB, free: 16.07 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.881e-05/1.605, allocations: 15.09 kB / 0.6563 GB, free: 16.07 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/1.623, allocations: 11.97 MB / 0.668 GB, free: 10.55 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/1.623, allocations: 11.09 kB / 0.668 GB, free: 10.55 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/1.624, allocations: 467.3 kB / 0.6684 GB, free: 10.54 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002341/1.627, allocations: 1.071 MB / 0.6695 GB, free: 10.19 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002307/1.627, allocations: 31.75 kB / 0.6695 GB, free: 10.18 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01581/1.643, allocations: 17.55 MB / 0.6866 GB, free: 12.85 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/1.643, allocations: 16.34 kB / 0.6867 GB, free: 12.85 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01127/1.654, allocations: 7.638 MB / 0.6941 GB, free: 6.633 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002608/1.657, allocations: 0.7715 MB / 0.6949 GB, free: 5.914 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007011/1.658, allocations: 25.28 kB / 0.6949 GB, free: 5.898 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001841/1.659, allocations: 104.2 kB / 0.695 GB, free: 5.824 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005296/1.66, allocations: 253.1 kB / 0.6952 GB, free: 5.668 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/1.66, allocations: 91.28 kB / 0.6953 GB, free: 5.582 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.003235/1.663, allocations: 1.783 MB / 0.6971 GB, free: 3.984 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.41e-07/1.663, allocations: 4 kB / 0.6971 GB, free: 3.98 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.006255/1.67, allocations: 1.104 MB / 0.6982 GB, free: 2.883 MB / 362.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.port_n.Phi.re,smpmM.stator.port_n.Phi.im,smpmM.stator.strayReluctance.Phi.re,smpmM.stator.strayReluctance.Phi.im,smpm3.inertiaRotor.w,smpm3.stator.port_n.Phi.re,smpm3.stator.port_n.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 234 * 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%) 18,(1,100.0%) 4,(4,93.8%) 18,(4,93.8%) 32,(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.0009955/1.671, allocations: 499.8 kB / 0.6986 GB, free: 2.5 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.008693/1.679, allocations: 4.959 MB / 0.7035 GB, free: 14.15 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.679, allocations: 4 kB / 0.7035 GB, free: 14.14 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005489/1.685, allocations: 3.18 MB / 0.7066 GB, free: 11.21 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004601/1.69, allocations: 0.7684 MB / 0.7073 GB, free: 10.62 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02297/1.713, allocations: 10.32 MB / 0.7174 GB, free: 1.258 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005833/1.718, allocations: 4.471 MB / 0.7218 GB, free: 13.96 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.003041/1.721, allocations: 0.7403 MB / 0.7225 GB, free: 13.45 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007568/1.722, allocations: 241.5 kB / 0.7227 GB, free: 13.22 MB / 394.8 MB Notification: Performance of SimCode: time 8.01e-07/1.722, allocations: 0 / 0.7227 GB, free: 13.22 MB / 394.8 MB Notification: Performance of Templates: time 0.2833/2.006, allocations: 50.57 MB / 0.7721 GB, free: 76.07 MB / 394.8 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)