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.001079/0.001079, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00132/0.00132, allocations: 195 kB / 16.14 MB, free: 6.719 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.343/1.343, allocations: 205.1 MB / 222 MB, free: 4.992 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.001196/0.001196, allocations: 51.92 kB / 278.1 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.25, allocations: 46.62 MB / 324.7 MB, free: 1.84 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.02556/0.2756, allocations: 24.95 MB / 349.6 MB, free: 11.15 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01621/0.2919, allocations: 6.986 MB / 356.6 MB, free: 4.145 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006222/0.2981, allocations: 143.4 kB / 356.8 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005954/0.3042, allocations: 1.465 MB / 358.2 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009551/0.3138, allocations: 2.043 MB / 360.3 MB, free: 488 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005811/0.3196, allocations: 1.389 MB / 361.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01316/0.3328, allocations: 8.979 MB / 370.6 MB, free: 6.062 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009027/0.3419, allocations: 6.034 MB / 376.7 MB, free: 15.94 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005821/0.3477, allocations: 3.226 MB / 379.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007202/0.355, allocations: 4.257 MB / 384.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002721/0.3577, allocations: 0.6641 MB / 384.8 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004096/0.3619, allocations: 0.8786 MB / 385.7 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003616/0.3655, allocations: 2.025 MB / 387.7 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008688/0.3742, allocations: 4.207 MB / 391.9 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0168/0.391, allocations: 14.23 MB / 406.2 MB, free: 2.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3911, allocations: 0 / 406.2 MB, free: 2.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.3911, allocations: 0 / 406.2 MB, free: 2.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006773/0.3918, allocations: 3.938 kB / 406.2 MB, free: 2.355 MB / 334.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.03401/0.4258, allocations: 9.209 MB / 415.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.4259, allocations: 12.03 kB / 415.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01134/0.4373, allocations: 1.744 MB / 417.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/0.448, allocations: 4.606 MB / 421.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006174/0.4486, allocations: 0.5343 MB / 422.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002934/0.4516, allocations: 0.7147 MB / 423 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02613/0.4777, allocations: 9.773 MB / 432.7 MB, free: 7.504 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002802/0.4781, allocations: 11.89 kB / 432.8 MB, free: 7.492 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002101/0.4802, allocations: 300 kB / 433.1 MB, free: 7.199 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003506/0.4805, allocations: 354.6 kB / 433.4 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01992/0.5005, allocations: 8.287 MB / 441.7 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4139/0.9144, allocations: 30.48 MB / 472.2 MB, free: 88.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/0.9263, allocations: 16.08 MB / 488.2 MB, free: 73.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00437/0.9307, allocations: 3.045 MB / 491.3 MB, free: 72.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01249/0.9432, allocations: 8.086 MB / 499.4 MB, free: 66.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.9433, allocations: 70.22 kB / 499.4 MB, free: 66.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=281): time 5.361e-06/0.9433, allocations: 2.719 kB / 499.4 MB, free: 66.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=289): time 0.02065/0.964, allocations: 11.58 MB / 0.499 GB, free: 57.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.9641, allocations: 81.69 kB / 0.4991 GB, free: 57.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004829/0.9689, allocations: 3.645 MB / 0.5027 GB, free: 53.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004046/0.9693, allocations: 73.7 kB / 0.5028 GB, free: 53.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001356/0.9707, allocations: 3.179 MB / 0.5059 GB, free: 50.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006268/0.9713, allocations: 0.9885 MB / 0.5068 GB, free: 49.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007643/0.9721, allocations: 0.6491 MB / 0.5075 GB, free: 48.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.46e-05/0.9722, allocations: 305.1 kB / 0.5077 GB, free: 48.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/0.9742, allocations: 1.483 MB / 0.5092 GB, free: 46.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002337/0.9765, allocations: 2.621 MB / 0.5118 GB, free: 43.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004522/0.9811, allocations: 4.393 MB / 0.516 GB, free: 38.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.597e-05/0.9811, allocations: 8 kB / 0.5161 GB, free: 38.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.008016/0.9891, allocations: 5.025 MB / 0.521 GB, free: 33.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/0.9892, allocations: 28.55 kB / 0.521 GB, free: 33.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.498e-05/0.9893, allocations: 40.06 kB / 0.521 GB, free: 33.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000903/0.9902, allocations: 397.5 kB / 0.5214 GB, free: 33.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002988/0.9932, allocations: 0.862 MB / 0.5222 GB, free: 32.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004839/0.998, allocations: 7.339 MB / 0.5294 GB, free: 24.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003454/1.001, allocations: 172.1 kB / 0.5296 GB, free: 24.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003091/1.002, allocations: 164 kB / 0.5297 GB, free: 24.21 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.004019/1.006, allocations: 2.144 MB / 0.5318 GB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008997/1.007, allocations: 399.1 kB / 0.5322 GB, free: 21.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006764/1.014, allocations: 4.455 MB / 0.5366 GB, free: 17.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/1.014, allocations: 32 kB / 0.5366 GB, free: 17.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/1.014, allocations: 16 kB / 0.5366 GB, free: 17.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.136e-05/1.014, allocations: 11.95 kB / 0.5366 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/1.029, allocations: 10.48 MB / 0.5469 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/1.029, allocations: 7.938 kB / 0.5469 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/1.031, allocations: 439.4 kB / 0.5473 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002033/1.033, allocations: 0.8647 MB / 0.5481 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002328/1.033, allocations: 75.97 kB / 0.5482 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01603/1.049, allocations: 16.2 MB / 0.564 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.049, allocations: 4 kB / 0.564 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01231/1.061, allocations: 6.422 MB / 0.5703 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002933/1.064, allocations: 0.8083 MB / 0.5711 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001161/1.065, allocations: 64 kB / 0.5711 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002098/1.068, allocations: 135.9 kB / 0.5713 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005758/1.068, allocations: 217.8 kB / 0.5715 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001834/1.068, allocations: 87.97 kB / 0.5716 GB, free: 11.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004295/1.073, allocations: 2.469 MB / 0.574 GB, free: 9.461 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.01e-07/1.073, allocations: 0 / 0.574 GB, free: 9.461 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005553/1.078, allocations: 1.21 MB / 0.5752 GB, free: 8.254 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.0007163/1.079, allocations: 227.3 kB / 0.5754 GB, free: 8.027 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006943/1.086, allocations: 4.345 MB / 0.5796 GB, free: 3.566 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.086, allocations: 4 kB / 0.5796 GB, free: 3.562 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004771/1.091, allocations: 2.987 MB / 0.5825 GB, free: 496 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005704/1.096, allocations: 1.053 MB / 0.5836 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02742/1.124, allocations: 15.63 MB / 0.5988 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005912/1.13, allocations: 4.339 MB / 0.6031 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004169/1.134, allocations: 0.9019 MB / 0.6039 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000971/1.135, allocations: 275.4 kB / 0.6042 GB, free: 10.15 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/1.135, allocations: 0 / 0.6042 GB, free: 10.15 MB / 446.1 MB Notification: Performance of Templates: time 0.2839/1.419, allocations: 57.76 MB / 0.6606 GB, free: 118.6 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)