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.0009511/0.0009514, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.276/1.276, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001552/0.001552, allocations: 115.4 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.094e-05/3.113e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07491/0.07495, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2943/0.3693, allocations: 102.4 MB / 410.1 MB, free: 6.367 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.3696, allocations: 83.08 kB / 410.2 MB, free: 6.328 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5138/0.8834, allocations: 160.2 MB / 0.557 GB, free: 30.22 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.8835, allocations: 3.938 kB / 0.557 GB, free: 30.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004506/0.8839, allocations: 175.8 kB / 0.5572 GB, free: 30.04 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.01665/0.9006, allocations: 6.423 MB / 0.5635 GB, free: 23.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.9006, allocations: 8.031 kB / 0.5635 GB, free: 23.53 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00501/0.9057, allocations: 1.111 MB / 0.5646 GB, free: 22.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0107/0.9164, allocations: 4.894 MB / 0.5693 GB, free: 17.44 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003986/0.9168, allocations: 0.5017 MB / 0.5698 GB, free: 16.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001753/0.9186, allocations: 0.6717 MB / 0.5705 GB, free: 16.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01633/0.9349, allocations: 8.689 MB / 0.579 GB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001337/0.9351, allocations: 11.91 kB / 0.579 GB, free: 7.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006139/0.9357, allocations: 284 kB / 0.5792 GB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001967/0.9359, allocations: 313.6 kB / 0.5795 GB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01124/0.9472, allocations: 6.65 MB / 0.586 GB, free: 96 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2605/1.208, allocations: 27.7 MB / 0.6131 GB, free: 29.67 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005109/1.213, allocations: 5.375 MB / 0.6183 GB, free: 27.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003067/1.216, allocations: 2.389 MB / 0.6207 GB, free: 27.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/1.216, allocations: 35.5 kB / 0.6207 GB, free: 27.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/1.216, allocations: 69.44 kB / 0.6208 GB, free: 27.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=268): time 5.12e-06/1.216, allocations: 0 / 0.6208 GB, free: 27.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=320): time 0.01875/1.235, allocations: 10.37 MB / 0.6309 GB, free: 25.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/1.235, allocations: 92.47 kB / 0.631 GB, free: 25.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004588/1.24, allocations: 3.05 MB / 0.634 GB, free: 24.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002807/1.24, allocations: 78.98 kB / 0.634 GB, free: 24.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001465/1.241, allocations: 2.993 MB / 0.637 GB, free: 22.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006873/1.242, allocations: 1.094 MB / 0.638 GB, free: 21.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/1.242, allocations: 78.5 kB / 0.6381 GB, free: 21.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/1.242, allocations: 450.2 kB / 0.6385 GB, free: 21.24 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001928/1.244, allocations: 1.513 MB / 0.64 GB, free: 20.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002279/1.247, allocations: 2.553 MB / 0.6425 GB, free: 18.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002442/1.249, allocations: 2.026 MB / 0.6445 GB, free: 17.9 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.637e-05/1.249, allocations: 12.03 kB / 0.6445 GB, free: 17.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.007792/1.257, allocations: 5.532 MB / 0.6499 GB, free: 15.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/1.257, allocations: 20.5 kB / 0.6499 GB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.277e-05/1.257, allocations: 34.91 kB / 0.65 GB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002136/1.259, allocations: 0.9663 MB / 0.6509 GB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002663/1.262, allocations: 0.7796 MB / 0.6517 GB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/1.275, allocations: 15.11 MB / 0.6664 GB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003433/1.278, allocations: 169.8 kB / 0.6666 GB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003101/1.279, allocations: 154.5 kB / 0.6667 GB, free: 3.551 MB / 346.7 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 (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%) 20,(1,100.0%) 1,(1,100.0%) 5,(4,93.8%) 20,(1,100.0%) 1,(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000563/1.279, allocations: 334 kB / 0.667 GB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004729/1.28, allocations: 400 kB / 0.6674 GB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007495/1.287, allocations: 4.885 MB / 0.6722 GB, free: 0.9023 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/1.287, allocations: 30.97 kB / 0.6722 GB, free: 0.9023 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/1.287, allocations: 17.16 kB / 0.6722 GB, free: 0.9023 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.693e-05/1.287, allocations: 21.44 kB / 0.6723 GB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01997/1.307, allocations: 13.18 MB / 0.6851 GB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/1.307, allocations: 11.34 kB / 0.6851 GB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/1.309, allocations: 467.2 kB / 0.6856 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002536/1.311, allocations: 1.094 MB / 0.6867 GB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000233/1.312, allocations: 78.56 kB / 0.6867 GB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01965/1.331, allocations: 18.2 MB / 0.7045 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.187e-05/1.331, allocations: 15.94 kB / 0.7045 GB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01249/1.344, allocations: 8.014 MB / 0.7123 GB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002596/1.347, allocations: 0.8388 MB / 0.7132 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008808/1.347, allocations: 71.95 kB / 0.7132 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002241/1.35, allocations: 158 kB / 0.7134 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008343/1.351, allocations: 245.3 kB / 0.7136 GB, free: 376 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000229/1.351, allocations: 99.12 kB / 0.7137 GB, free: 284 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.01204/1.363, allocations: 2.848 MB / 0.7165 GB, free: 15.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.363, allocations: 0 / 0.7165 GB, free: 15.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006948/1.37, allocations: 1.279 MB / 0.7177 GB, free: 14.23 MB / 394.7 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 (240): * Single equations (assignments): 233 * 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.001209/1.371, allocations: 0.651 MB / 0.7184 GB, free: 13.67 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008757/1.38, allocations: 5.151 MB / 0.7234 GB, free: 8.742 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/1.38, allocations: 4 kB / 0.7234 GB, free: 8.738 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005784/1.386, allocations: 3.323 MB / 0.7267 GB, free: 5.586 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006223/1.392, allocations: 1.049 MB / 0.7277 GB, free: 4.777 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2464/1.638, allocations: 10.57 MB / 0.738 GB, free: 70.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005989/1.644, allocations: 4.458 MB / 0.7424 GB, free: 69.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004056/1.648, allocations: 0.7931 MB / 0.7431 GB, free: 69.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007967/1.649, allocations: 260.1 kB / 0.7434 GB, free: 69.82 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/1.649, allocations: 1.203 kB / 0.7434 GB, free: 69.82 MB / 394.7 MB Notification: Performance of Templates: time 0.09457/1.744, allocations: 64.61 MB / 0.8065 GB, free: 58.9 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)