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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,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-06,outputFormat="empty",numberOfIntervals=30000,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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 194.5 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 51.92 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2133, allocations: 46.63 MB / 324.9 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.02432/0.2377, allocations: 24.96 MB / 349.8 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.2506, allocations: 6.955 MB / 356.8 MB, free: 4.082 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00546/0.2561, allocations: 143.4 kB / 356.9 MB, free: 3.941 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005114/0.2613, allocations: 1.477 MB / 358.4 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007754/0.2691, allocations: 2.024 MB / 360.4 MB, free: 432 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003592/0.2727, allocations: 1.381 MB / 361.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01073/0.2834, allocations: 8.737 MB / 370.5 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008127/0.2915, allocations: 7.278 MB / 377.8 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004721/0.2963, allocations: 3.804 MB / 381.6 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005538/0.3018, allocations: 4.565 MB / 386.2 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001382/0.3032, allocations: 1.121 MB / 387.3 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002152/0.3054, allocations: 1.355 MB / 388.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001917/0.3073, allocations: 2.509 MB / 391.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004899/0.3122, allocations: 4.711 MB / 395.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01258/0.3248, allocations: 14.55 MB / 410.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3249, allocations: 0 / 410.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3249, allocations: 0 / 410.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002821/0.3251, allocations: 0 / 410.4 MB, free: 14.18 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02052/0.3457, allocations: 9.212 MB / 419.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3457, allocations: 11.89 kB / 419.6 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008559/0.3543, allocations: 1.744 MB / 421.4 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007751/0.3621, allocations: 4.606 MB / 426 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003849/0.3625, allocations: 0.5343 MB / 426.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.3635, allocations: 0.7108 MB / 427.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01573/0.3792, allocations: 9.777 MB / 437 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001355/0.3794, allocations: 7.906 kB / 437 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006376/0.38, allocations: 296 kB / 437.3 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002913/0.3803, allocations: 358.6 kB / 437.7 MB, free: 2.676 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01375/0.3941, allocations: 8.287 MB / 445.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3718/0.7659, allocations: 30.48 MB / 476.4 MB, free: 87.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/0.777, allocations: 16.07 MB / 492.5 MB, free: 72.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003742/0.7808, allocations: 3.045 MB / 495.5 MB, free: 71.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01079/0.7916, allocations: 8.085 MB / 0.4918 GB, free: 65.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.7916, allocations: 63.91 kB / 0.4919 GB, free: 65.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=281): time 4.158e-06/0.7917, allocations: 0 / 0.4919 GB, free: 65.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=289): time 0.01788/0.8095, allocations: 11.6 MB / 0.5032 GB, free: 53.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.8096, allocations: 81.69 kB / 0.5033 GB, free: 53.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004182/0.8138, allocations: 3.645 MB / 0.5069 GB, free: 50.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002223/0.814, allocations: 77.7 kB / 0.5069 GB, free: 49.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001309/0.8153, allocations: 3.179 MB / 0.51 GB, free: 46.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005662/0.8159, allocations: 0.9928 MB / 0.511 GB, free: 45.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008133/0.8167, allocations: 0.6412 MB / 0.5116 GB, free: 45.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.929e-05/0.8168, allocations: 309.1 kB / 0.5119 GB, free: 44.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001947/0.8188, allocations: 1.475 MB / 0.5134 GB, free: 43.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002516/0.8213, allocations: 2.631 MB / 0.5159 GB, free: 40.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004527/0.8258, allocations: 4.392 MB / 0.5202 GB, free: 35.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.606e-05/0.8259, allocations: 8 kB / 0.5202 GB, free: 35.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.006838/0.8327, allocations: 5.017 MB / 0.5251 GB, free: 30.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/0.8328, allocations: 24.03 kB / 0.5251 GB, free: 30.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-05/0.8328, allocations: 39.94 kB / 0.5252 GB, free: 30.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008985/0.8337, allocations: 404.5 kB / 0.5256 GB, free: 29.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00281/0.8365, allocations: 0.858 MB / 0.5264 GB, free: 28.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005006/0.8416, allocations: 7.981 MB / 0.5342 GB, free: 20.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002998/0.8446, allocations: 175.8 kB / 0.5344 GB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002249/0.8448, allocations: 160.1 kB / 0.5345 GB, free: 19.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * 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 (451): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,5,100.0%), (1,1,100.0%), (3,14,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00336/0.8482, allocations: 2.14 MB / 0.5366 GB, free: 17.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007234/0.8489, allocations: 399.1 kB / 0.537 GB, free: 17.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006237/0.8552, allocations: 4.458 MB / 0.5413 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.8552, allocations: 35.88 kB / 0.5414 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.8552, allocations: 20 kB / 0.5414 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/0.8552, allocations: 11.95 kB / 0.5414 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.8686, allocations: 10.47 MB / 0.5516 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.8687, allocations: 4 kB / 0.5516 GB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/0.8703, allocations: 443.9 kB / 0.5521 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001854/0.8722, allocations: 0.8723 MB / 0.5529 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001639/0.8724, allocations: 79.97 kB / 0.553 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01669/0.8891, allocations: 17.66 MB / 0.5702 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.8891, allocations: 7.938 kB / 0.5702 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/0.8997, allocations: 6.42 MB / 0.5765 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002092/0.9018, allocations: 0.8008 MB / 0.5773 GB, free: 6.688 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005995/0.9024, allocations: 67.98 kB / 0.5774 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/0.9042, allocations: 139.9 kB / 0.5775 GB, free: 6.484 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005487/0.9047, allocations: 213.8 kB / 0.5777 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/0.9049, allocations: 87.98 kB / 0.5778 GB, free: 6.188 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003673/0.9086, allocations: 2.469 MB / 0.5802 GB, free: 3.738 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.9086, allocations: 3.938 kB / 0.5802 GB, free: 3.734 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004227/0.9128, allocations: 1.214 MB / 0.5814 GB, free: 2.523 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].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 (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,5,100.0%), (4,33,93.8%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,13,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004971/0.9133, allocations: 207.7 kB / 0.5816 GB, free: 2.312 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01367/0.927, allocations: 6.16 MB / 0.5876 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.924e-06/0.9271, allocations: 0 / 0.5876 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004521/0.9316, allocations: 2.995 MB / 0.5905 GB, free: 8.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005597/0.9372, allocations: 1.117 MB / 0.5916 GB, free: 7.859 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02941/0.9667, allocations: 15.64 MB / 0.6069 GB, free: 8.129 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00736/0.9741, allocations: 4.343 MB / 0.6111 GB, free: 3.746 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006015/0.9802, allocations: 0.8864 MB / 0.612 GB, free: 2.855 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/0.9817, allocations: 279.4 kB / 0.6123 GB, free: 2.582 MB / 446.1 MB Notification: Performance of SimCode: time 1.923e-06/0.9817, allocations: 4 kB / 0.6123 GB, free: 2.578 MB / 446.1 MB Notification: Performance of Templates: time 0.3121/1.294, allocations: 59.94 MB / 0.6708 GB, free: 109.5 MB / 446.1 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)