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.001084/0.001084, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001217/0.001217, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004636/0.0004637, allocations: 8 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2416, allocations: 47.6 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.02422/0.2659, allocations: 22.29 MB / 348.8 MB, free: 13.15 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01651/0.2825, allocations: 6.618 MB / 355.4 MB, free: 6.508 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005962/0.2885, allocations: 143.4 kB / 355.5 MB, free: 6.367 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005369/0.2939, allocations: 1.227 MB / 356.8 MB, free: 5.133 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008073/0.302, allocations: 1.86 MB / 358.6 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004253/0.3062, allocations: 1.002 MB / 359.6 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01228/0.3185, allocations: 8.429 MB / 368.1 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008508/0.3271, allocations: 5.093 MB / 373.2 MB, free: 4.637 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005416/0.3325, allocations: 2.724 MB / 375.9 MB, free: 1.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007713/0.3403, allocations: 3.544 MB / 379.4 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001999/0.3423, allocations: 464 kB / 379.9 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/0.3455, allocations: 0.6482 MB / 380.5 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0024/0.3479, allocations: 1.693 MB / 382.2 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00299/0.3509, allocations: 1.599 MB / 383.8 MB, free: 9.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01433/0.3653, allocations: 12.06 MB / 395.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3653, allocations: 0 / 395.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3653, allocations: 0 / 395.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006553/0.366, allocations: 4 kB / 395.9 MB, free: 13.83 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.02173/0.3877, allocations: 7.817 MB / 403.7 MB, free: 5.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3878, allocations: 8.031 kB / 403.7 MB, free: 5.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009949/0.3977, allocations: 1.751 MB / 405.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009569/0.4073, allocations: 4.498 MB / 410 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005977/0.408, allocations: 0.5454 MB / 410.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00216/0.4101, allocations: 0.7107 MB / 411.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02324/0.4334, allocations: 9.734 MB / 420.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001951/0.4336, allocations: 4 kB / 421 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001223/0.4349, allocations: 295.9 kB / 421.2 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003613/0.4352, allocations: 354.6 kB / 421.6 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01908/0.4543, allocations: 8.264 MB / 429.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3993/0.8536, allocations: 30.62 MB / 460.5 MB, free: 90.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01163/0.8653, allocations: 16.07 MB / 476.5 MB, free: 78.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004004/0.8693, allocations: 3.068 MB / 479.6 MB, free: 78.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01152/0.8809, allocations: 8.107 MB / 487.7 MB, free: 74.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.881, allocations: 65.97 kB / 487.8 MB, free: 74.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=281): time 4.308e-06/0.881, allocations: 0 / 487.8 MB, free: 74.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=289): time 0.02193/0.9029, allocations: 11.79 MB / 499.6 MB, free: 67.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.903, allocations: 81.09 kB / 499.6 MB, free: 67.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005061/0.9081, allocations: 3.615 MB / 0.4915 GB, free: 64.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005297/0.9086, allocations: 73.7 kB / 0.4915 GB, free: 64.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00159/0.9102, allocations: 3.189 MB / 0.4947 GB, free: 61.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009053/0.9111, allocations: 0.9991 MB / 0.4956 GB, free: 60.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.9113, allocations: 72 kB / 0.4957 GB, free: 60.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.9115, allocations: 457.9 kB / 0.4961 GB, free: 60.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002144/0.9136, allocations: 1.475 MB / 0.4976 GB, free: 58.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002383/0.916, allocations: 2.627 MB / 0.5001 GB, free: 55.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002497/0.9185, allocations: 1.959 MB / 0.5021 GB, free: 53.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/0.9186, allocations: 15.94 kB / 0.5021 GB, free: 53.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.006946/0.9255, allocations: 5.018 MB / 0.507 GB, free: 48.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.9256, allocations: 24.61 kB / 0.507 GB, free: 48.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.318e-05/0.9257, allocations: 40 kB / 0.507 GB, free: 48.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008697/0.9265, allocations: 408.2 kB / 0.5074 GB, free: 47.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003046/0.9296, allocations: 0.8694 MB / 0.5083 GB, free: 47.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004871/0.9345, allocations: 7.348 MB / 0.5154 GB, free: 39.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003561/0.9381, allocations: 175.9 kB / 0.5156 GB, free: 39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000625/0.9387, allocations: 168 kB / 0.5158 GB, free: 38.84 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 (linear and non-linear blocks): 2 * Torn equation systems: 4 * 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: 4 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004279/0.943, allocations: 2.136 MB / 0.5179 GB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009947/0.944, allocations: 399.2 kB / 0.5182 GB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006717/0.9507, allocations: 4.478 MB / 0.5226 GB, free: 31.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.9508, allocations: 32 kB / 0.5226 GB, free: 31.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/0.9508, allocations: 12 kB / 0.5227 GB, free: 31.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/0.9508, allocations: 11.95 kB / 0.5227 GB, free: 31.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01667/0.9675, allocations: 10.49 MB / 0.5329 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.9676, allocations: 7.953 kB / 0.5329 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/0.9694, allocations: 444 kB / 0.5333 GB, free: 20.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00196/0.9714, allocations: 0.8687 MB / 0.5342 GB, free: 19.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003017/0.9717, allocations: 83.97 kB / 0.5343 GB, free: 19.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01269/0.9844, allocations: 16.19 MB / 0.5501 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.9844, allocations: 7.938 kB / 0.5501 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/0.995, allocations: 6.437 MB / 0.5564 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00238/0.9974, allocations: 0.8008 MB / 0.5572 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009324/0.9984, allocations: 75.98 kB / 0.5572 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001964/1, allocations: 148 kB / 0.5574 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005144/1.001, allocations: 225.8 kB / 0.5576 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001792/1.001, allocations: 87.97 kB / 0.5577 GB, free: 10.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004696/1.006, allocations: 2.438 MB / 0.56 GB, free: 8.059 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.61e-07/1.006, allocations: 3.938 kB / 0.5601 GB, free: 8.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006214/1.012, allocations: 1.21 MB / 0.5612 GB, free: 6.848 MB / 398.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 (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 {(1,100.0%) 5,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 13,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007737/1.013, allocations: 218.7 kB / 0.5614 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007771/1.021, allocations: 4.358 MB / 0.5657 GB, free: 2.156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/1.021, allocations: 4.375 kB / 0.5657 GB, free: 2.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005209/1.026, allocations: 3.002 MB / 0.5686 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005856/1.032, allocations: 1.078 MB / 0.5697 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02588/1.058, allocations: 15.11 MB / 0.5844 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005926/1.064, allocations: 4.351 MB / 0.5887 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003683/1.067, allocations: 0.8903 MB / 0.5896 GB, free: 9.484 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007818/1.068, allocations: 275.4 kB / 0.5898 GB, free: 9.215 MB / 430.1 MB Notification: Performance of SimCode: time 1.463e-06/1.068, allocations: 0 / 0.5898 GB, free: 9.215 MB / 430.1 MB Notification: Performance of Templates: time 0.2923/1.361, allocations: 55.71 MB / 0.6442 GB, free: 134.1 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)