Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001221/0.001221, allocations: 113.7 kB / 17.07 MB, free: 5.965 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.001259/0.001259, allocations: 190.8 kB / 18 MB, free: 5.055 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.391/1.391, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.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.001169/0.001169, allocations: 47.92 kB / 327.9 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.105, allocations: 46.61 MB / 374.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.2291/0.3341, allocations: 25.34 MB / 399.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01945/0.3536, allocations: 7.081 MB / 406.9 MB, free: 7.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007548/0.3612, allocations: 147.2 kB / 407.1 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01052/0.3718, allocations: 1.71 MB / 408.8 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01621/0.3881, allocations: 2.264 MB / 411 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008061/0.3962, allocations: 1.526 MB / 412.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02228/0.4185, allocations: 8.529 MB / 421.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0178/0.4363, allocations: 7.281 MB / 428.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01168/0.4481, allocations: 3.976 MB / 432.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01264/0.4607, allocations: 4.612 MB / 437 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004905/0.4657, allocations: 1.129 MB / 438.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007876/0.4736, allocations: 1.347 MB / 439.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006214/0.4799, allocations: 2.524 MB / 442 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01479/0.4947, allocations: 4.719 MB / 446.7 MB, free: 7.215 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02526/0.5201, allocations: 14.76 MB / 461.4 MB, free: 8.406 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.5201, allocations: 0 / 461.4 MB, free: 8.406 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5201, allocations: 3.938 kB / 461.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005938/0.5207, allocations: 0 / 461.5 MB, free: 8.402 MB / 382.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.0324/0.5531, allocations: 9.418 MB / 470.9 MB, free: 14.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.5532, allocations: 11.89 kB / 470.9 MB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/0.5641, allocations: 1.784 MB / 472.7 MB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01303/0.5772, allocations: 4.765 MB / 477.4 MB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007362/0.5779, allocations: 0.5342 MB / 478 MB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003439/0.5814, allocations: 0.7111 MB / 478.7 MB, free: 6.996 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03371/0.6151, allocations: 9.777 MB / 488.5 MB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004446/0.6156, allocations: 11.95 kB / 488.5 MB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003079/0.6187, allocations: 295.9 kB / 488.8 MB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004483/0.6192, allocations: 358.6 kB / 489.1 MB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02261/0.6418, allocations: 8.287 MB / 497.4 MB, free: 4.191 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07145/0.7133, allocations: 30.17 MB / 0.5152 GB, free: 5.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01993/0.7333, allocations: 16.08 MB / 0.5309 GB, free: 3.473 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006186/0.7396, allocations: 3.019 MB / 0.5338 GB, free: 448 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02028/0.7599, allocations: 8.06 MB / 0.5417 GB, free: 8.223 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/0.76, allocations: 56.78 kB / 0.5418 GB, free: 8.156 MB / 478.1 MB Notification: Performance of pre-optimization done (n=281): time 5.581e-06/0.76, allocations: 0 / 0.5418 GB, free: 8.156 MB / 478.1 MB Notification: Performance of matching and sorting (n=289): time 0.5037/1.264, allocations: 11.68 MB / 0.5532 GB, free: 144.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/1.264, allocations: 88.88 kB / 0.5533 GB, free: 144.1 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01359/1.277, allocations: 3.647 MB / 0.5568 GB, free: 142.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008307/1.278, allocations: 72.98 kB / 0.5569 GB, free: 142.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004221/1.283, allocations: 3.274 MB / 0.5601 GB, free: 140.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001894/1.285, allocations: 1.039 MB / 0.5611 GB, free: 140.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002962/1.288, allocations: 0.6466 MB / 0.5617 GB, free: 139.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.238e-05/1.288, allocations: 313.1 kB / 0.562 GB, free: 139.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00508/1.293, allocations: 1.483 MB / 0.5635 GB, free: 138.9 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006167/1.299, allocations: 2.619 MB / 0.566 GB, free: 137 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/1.31, allocations: 4.384 MB / 0.5703 GB, free: 134 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001068/1.31, allocations: 10.88 kB / 0.5703 GB, free: 134 MB / 478.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.01787/1.328, allocations: 5.044 MB / 0.5753 GB, free: 131.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.447e-05/1.328, allocations: 20.44 kB / 0.5753 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001154/1.329, allocations: 36.06 kB / 0.5753 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/1.33, allocations: 405.5 kB / 0.5757 GB, free: 131.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006178/1.337, allocations: 0.8579 MB / 0.5765 GB, free: 131.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009801/1.346, allocations: 7.973 MB / 0.5843 GB, free: 124.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007045/1.353, allocations: 173.9 kB / 0.5845 GB, free: 124.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0019/1.355, allocations: 163.6 kB / 0.5846 GB, free: 124.5 MB / 478.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.008768/1.364, allocations: 2.143 MB / 0.5867 GB, free: 123.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002244/1.367, allocations: 420 kB / 0.5871 GB, free: 123.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/1.38, allocations: 4.461 MB / 0.5915 GB, free: 121.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-05/1.381, allocations: 27.09 kB / 0.5915 GB, free: 121.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.07e-05/1.381, allocations: 16.53 kB / 0.5915 GB, free: 121.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.343e-05/1.381, allocations: 14.81 kB / 0.5915 GB, free: 121.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02971/1.41, allocations: 10.47 MB / 0.6018 GB, free: 116.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/1.41, allocations: 4.75 kB / 0.6018 GB, free: 116.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001893/1.412, allocations: 442.6 kB / 0.6022 GB, free: 115.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002093/1.414, allocations: 0.8781 MB / 0.6031 GB, free: 114.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003418/1.415, allocations: 79.72 kB / 0.6031 GB, free: 114.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01423/1.429, allocations: 17.64 MB / 0.6204 GB, free: 96.21 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/1.429, allocations: 9.422 kB / 0.6204 GB, free: 96.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/1.44, allocations: 6.452 MB / 0.6267 GB, free: 89.54 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00275/1.443, allocations: 0.8185 MB / 0.6275 GB, free: 88.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001456/1.444, allocations: 67.98 kB / 0.6275 GB, free: 88.63 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002766/1.447, allocations: 139.9 kB / 0.6277 GB, free: 88.49 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005956/1.448, allocations: 217.8 kB / 0.6279 GB, free: 88.28 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000251/1.448, allocations: 83.97 kB / 0.628 GB, free: 88.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005059/1.453, allocations: 2.473 MB / 0.6304 GB, free: 85.74 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.41e-07/1.453, allocations: 0 / 0.6304 GB, free: 85.74 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006642/1.46, allocations: 1.211 MB / 0.6315 GB, free: 84.53 MB / 478.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.0006843/1.46, allocations: 216.5 kB / 0.6318 GB, free: 84.32 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007216/1.467, allocations: 4.379 MB / 0.636 GB, free: 79.83 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.986e-06/1.467, allocations: 10.97 kB / 0.636 GB, free: 79.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004498/1.472, allocations: 2.976 MB / 0.6389 GB, free: 76.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007805/1.48, allocations: 1.118 MB / 0.64 GB, free: 75.64 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02911/1.509, allocations: 12.68 MB / 0.6524 GB, free: 62.85 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003624/1.513, allocations: 4.351 MB / 0.6567 GB, free: 58.45 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003082/1.516, allocations: 0.8903 MB / 0.6575 GB, free: 57.56 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000744/1.517, allocations: 275.4 kB / 0.6578 GB, free: 57.29 MB / 478.1 MB Notification: Performance of SimCode: time 2.294e-06/1.517, allocations: 4 kB / 0.6578 GB, free: 57.29 MB / 478.1 MB Notification: Performance of Templates: time 0.08726/1.604, allocations: 57.56 MB / 0.714 GB, free: 15.71 MB / 494.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1)