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.0007658/0.0007657, allocations: 91.8 kB / 16.65 MB, free: 6.59 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.0008701/0.0008702, allocations: 182.3 kB / 17.56 MB, free: 6.203 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.352/1.352, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0005041/0.0005041, allocations: 12 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0909/0.09141, allocations: 47.59 MB / 328.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.02376/0.1152, allocations: 23.96 MB / 352.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01469/0.1299, allocations: 6.912 MB / 359.2 MB, free: 4.742 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004927/0.1349, allocations: 143.4 kB / 359.3 MB, free: 4.602 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005236/0.1402, allocations: 1.457 MB / 360.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00876/0.149, allocations: 2.032 MB / 362.8 MB, free: 1.094 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004673/0.1537, allocations: 1.381 MB / 364.2 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01343/0.1671, allocations: 8.959 MB / 373.2 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008616/0.1757, allocations: 5.987 MB / 379.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1998/0.3755, allocations: 2.773 MB / 381.9 MB, free: 16.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007602/0.3832, allocations: 3.688 MB / 385.6 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003253/0.3865, allocations: 466.4 kB / 386.1 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005009/0.3915, allocations: 0.6672 MB / 386.7 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00408/0.3956, allocations: 1.72 MB / 388.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01122/0.4069, allocations: 3.852 MB / 392.3 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01777/0.4247, allocations: 13.75 MB / 406.1 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4247, allocations: 0 / 406.1 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4247, allocations: 0 / 406.1 MB, free: 8.617 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005484/0.4253, allocations: 3.125 kB / 406.1 MB, free: 8.617 MB / 318.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.02355/0.4488, allocations: 7.748 MB / 413.8 MB, free: 4.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.4489, allocations: 7 kB / 413.8 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/0.4596, allocations: 1.743 MB / 415.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009858/0.4695, allocations: 4.606 MB / 420.2 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005253/0.47, allocations: 0.5396 MB / 420.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002902/0.4729, allocations: 0.7072 MB / 421.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02803/0.501, allocations: 9.803 MB / 431.2 MB, free: 7.688 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002242/0.5012, allocations: 15.36 kB / 431.2 MB, free: 7.676 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001382/0.5026, allocations: 295.7 kB / 431.5 MB, free: 7.391 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003403/0.503, allocations: 354.6 kB / 431.9 MB, free: 7.043 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02098/0.524, allocations: 8.317 MB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0666/0.5906, allocations: 30.65 MB / 470.9 MB, free: 24 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02036/0.611, allocations: 16.08 MB / 486.9 MB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007459/0.6185, allocations: 3.077 MB / 490 MB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02167/0.6402, allocations: 8.113 MB / 498.1 MB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.891e-05/0.6403, allocations: 68.77 kB / 498.2 MB, free: 2.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=281): time 5.51e-06/0.6404, allocations: 0 / 498.2 MB, free: 2.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=289): time 0.02577/0.6661, allocations: 11.7 MB / 0.4979 GB, free: 6.938 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.6662, allocations: 81.69 kB / 0.498 GB, free: 6.844 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006504/0.6728, allocations: 3.645 MB / 0.5016 GB, free: 3.219 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004719/0.6733, allocations: 77.7 kB / 0.5017 GB, free: 3.137 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002409/0.6757, allocations: 3.182 MB / 0.5048 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001086/0.6768, allocations: 0.9942 MB / 0.5057 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004887/0.6773, allocations: 293.6 kB / 0.506 GB, free: 14.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.6774, allocations: 309 kB / 0.5063 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002593/0.68, allocations: 1.491 MB / 0.5078 GB, free: 12.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003351/0.6834, allocations: 2.646 MB / 0.5104 GB, free: 9.727 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006223/0.6896, allocations: 4.416 MB / 0.5147 GB, free: 4.926 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.917e-05/0.6896, allocations: 8 kB / 0.5147 GB, free: 4.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.008963/0.6986, allocations: 5.047 MB / 0.5196 GB, free: 16 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.01e-05/0.6987, allocations: 24.17 kB / 0.5196 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.082e-05/0.6988, allocations: 39.94 kB / 0.5197 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.6998, allocations: 406.3 kB / 0.52 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003314/0.7031, allocations: 0.8782 MB / 0.5209 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006656/0.7098, allocations: 7.339 MB / 0.5281 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004003/0.7138, allocations: 179.8 kB / 0.5282 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005629/0.7144, allocations: 168 kB / 0.5284 GB, free: 6.559 MB / 446.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.005964/0.7204, allocations: 2.128 MB / 0.5305 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/0.7215, allocations: 403 kB / 0.5309 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2262/0.9478, allocations: 4.489 MB / 0.5353 GB, free: 153.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.499e-05/0.9479, allocations: 28.19 kB / 0.5353 GB, free: 153.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.904e-05/0.9479, allocations: 15.72 kB / 0.5353 GB, free: 153.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000103/0.948, allocations: 22.33 kB / 0.5353 GB, free: 153.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0243/0.9723, allocations: 10.5 MB / 0.5456 GB, free: 150.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/0.9724, allocations: 4.125 kB / 0.5456 GB, free: 150.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001993/0.9744, allocations: 448.1 kB / 0.546 GB, free: 150.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002243/0.9767, allocations: 0.868 MB / 0.5468 GB, free: 150.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002308/0.9769, allocations: 76.67 kB / 0.5469 GB, free: 150.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/0.9911, allocations: 16.21 MB / 0.5628 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.9912, allocations: 13.81 kB / 0.5628 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009959/1.001, allocations: 6.472 MB / 0.5691 GB, free: 134.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002338/1.004, allocations: 0.799 MB / 0.5699 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006537/1.004, allocations: 70.52 kB / 0.5699 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001919/1.006, allocations: 153.1 kB / 0.5701 GB, free: 134.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005116/1.007, allocations: 219.8 kB / 0.5703 GB, free: 134.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/1.007, allocations: 89.56 kB / 0.5704 GB, free: 134.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003941/1.011, allocations: 2.462 MB / 0.5728 GB, free: 133.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.81e-07/1.011, allocations: 7.656 kB / 0.5728 GB, free: 133.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005563/1.016, allocations: 1.213 MB / 0.574 GB, free: 133.1 MB / 446.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.0006555/1.017, allocations: 212.4 kB / 0.5742 GB, free: 133 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006277/1.023, allocations: 4.387 MB / 0.5785 GB, free: 130 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.023, allocations: 4.438 kB / 0.5785 GB, free: 130 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004388/1.028, allocations: 3.01 MB / 0.5814 GB, free: 127.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008353/1.036, allocations: 1.058 MB / 0.5824 GB, free: 126.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02347/1.06, allocations: 15.87 MB / 0.5979 GB, free: 111.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004215/1.064, allocations: 4.347 MB / 0.6022 GB, free: 106.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003585/1.067, allocations: 0.8903 MB / 0.603 GB, free: 105.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007906/1.068, allocations: 271.4 kB / 0.6033 GB, free: 105.6 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/1.068, allocations: 0 / 0.6033 GB, free: 105.6 MB / 446.1 MB Notification: Performance of Templates: time 0.09405/1.162, allocations: 57.09 MB / 0.6591 GB, free: 48.41 MB / 446.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)