Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_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.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001328/0.001328, allocations: 194 kB / 16.25 MB, free: 6.625 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.342/1.342, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.001144/0.001144, allocations: 51.92 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2029, allocations: 46.63 MB / 324.9 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase): time 0.02496/0.2279, allocations: 23.36 MB / 348.2 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01376/0.2417, allocations: 6.429 MB / 354.7 MB, free: 6.188 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004327/0.2462, allocations: 135.4 kB / 354.8 MB, free: 6.055 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004297/0.2505, allocations: 1.356 MB / 356.1 MB, free: 4.691 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00712/0.2576, allocations: 1.888 MB / 358 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003881/0.2615, allocations: 1.322 MB / 359.4 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01047/0.272, allocations: 8.298 MB / 367.6 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01094/0.2829, allocations: 7.149 MB / 374.8 MB, free: 1.891 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007097/0.2901, allocations: 3.629 MB / 378.4 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007737/0.2978, allocations: 4.375 MB / 382.8 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003594/0.3015, allocations: 1.086 MB / 383.9 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005037/0.3065, allocations: 1.312 MB / 385.2 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003944/0.3105, allocations: 2.427 MB / 387.6 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008116/0.3186, allocations: 4.501 MB / 392.1 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01569/0.3344, allocations: 14.02 MB / 406.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.3344, allocations: 0 / 406.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3344, allocations: 3.938 kB / 406.2 MB, free: 2.441 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004074/0.3348, allocations: 0 / 406.2 MB, free: 2.441 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.0255/0.3603, allocations: 8.821 MB / 415 MB, free: 9.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.3604, allocations: 15.83 kB / 415 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.3706, allocations: 1.666 MB / 416.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0111/0.3818, allocations: 4.412 MB / 421.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006633/0.3825, allocations: 0.522 MB / 421.6 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002803/0.3853, allocations: 0.6794 MB / 422.3 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02531/0.4106, allocations: 9.443 MB / 431.7 MB, free: 8.633 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002577/0.4109, allocations: 11.89 kB / 431.7 MB, free: 8.621 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001779/0.4127, allocations: 291.9 kB / 432 MB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003601/0.4131, allocations: 330.2 kB / 432.3 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01941/0.4325, allocations: 8.059 MB / 440.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2525/0.685, allocations: 28.77 MB / 469.2 MB, free: 92.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01303/0.6981, allocations: 16.59 MB / 485.8 MB, free: 77.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00433/0.7025, allocations: 2.93 MB / 488.7 MB, free: 76.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01193/0.7144, allocations: 7.734 MB / 496.4 MB, free: 70.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.7145, allocations: 68.22 kB / 496.5 MB, free: 70.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=259): time 5.68e-06/0.7145, allocations: 0 / 496.5 MB, free: 70.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=265): time 0.02144/0.736, allocations: 10.99 MB / 0.4956 GB, free: 63.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.7361, allocations: 81.5 kB / 0.4957 GB, free: 62.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005467/0.7416, allocations: 3.385 MB / 0.499 GB, free: 59.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003718/0.742, allocations: 73.7 kB / 0.499 GB, free: 59.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.7433, allocations: 3.034 MB / 0.502 GB, free: 56.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006463/0.744, allocations: 0.9106 MB / 0.5029 GB, free: 55.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009144/0.7449, allocations: 0.6012 MB / 0.5035 GB, free: 54.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.009e-05/0.7449, allocations: 305.1 kB / 0.5038 GB, free: 54.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001998/0.7469, allocations: 1.393 MB / 0.5051 GB, free: 53.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/0.7493, allocations: 2.431 MB / 0.5075 GB, free: 50.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00469/0.754, allocations: 4.078 MB / 0.5115 GB, free: 45.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.435e-05/0.754, allocations: 8 kB / 0.5115 GB, free: 45.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007151/0.7612, allocations: 4.704 MB / 0.5161 GB, free: 40.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.7612, allocations: 26.95 kB / 0.5161 GB, free: 40.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.573e-05/0.7613, allocations: 32 kB / 0.5161 GB, free: 40.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009578/0.7623, allocations: 393.2 kB / 0.5165 GB, free: 40.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002663/0.7649, allocations: 0.7956 MB / 0.5173 GB, free: 39.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005191/0.7701, allocations: 7.97 MB / 0.5251 GB, free: 31.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002956/0.7731, allocations: 159.9 kB / 0.5252 GB, free: 31.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003496/0.7735, allocations: 147.9 kB / 0.5254 GB, free: 30.89 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * 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 (411): * Single equations (assignments): 405 * 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,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004101/0.7776, allocations: 2.074 MB / 0.5274 GB, free: 28.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/0.7787, allocations: 371.4 kB / 0.5277 GB, free: 28.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007048/0.7857, allocations: 4.216 MB / 0.5319 GB, free: 24.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.7858, allocations: 27.94 kB / 0.5319 GB, free: 24.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-05/0.7858, allocations: 20.11 kB / 0.5319 GB, free: 24.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/0.7859, allocations: 11.95 kB / 0.5319 GB, free: 24.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02075/0.8066, allocations: 9.871 MB / 0.5416 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/0.8067, allocations: 4 kB / 0.5416 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/0.8084, allocations: 399.4 kB / 0.5419 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002004/0.8104, allocations: 0.8636 MB / 0.5428 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000249/0.8107, allocations: 71.97 kB / 0.5429 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01461/0.8253, allocations: 17.52 MB / 0.56 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/0.8254, allocations: 7.938 kB / 0.56 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/0.8359, allocations: 6.017 MB / 0.5658 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002049/0.838, allocations: 0.7425 MB / 0.5666 GB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001088/0.8391, allocations: 63.98 kB / 0.5666 GB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002281/0.8414, allocations: 131.9 kB / 0.5668 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005622/0.842, allocations: 209.7 kB / 0.567 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002148/0.8422, allocations: 75.97 kB / 0.567 GB, free: 2.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004501/0.8467, allocations: 2.294 MB / 0.5693 GB, free: 464 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8467, allocations: 0 / 0.5693 GB, free: 464 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.005061/0.8518, allocations: 1.149 MB / 0.5704 GB, free: 15.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.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 (198): * Single equations (assignments): 191 * 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,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007137/0.8525, allocations: 197.5 kB / 0.5706 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01504/0.8676, allocations: 5.748 MB / 0.5762 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/0.8676, allocations: 0 / 0.5762 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005688/0.8733, allocations: 2.853 MB / 0.579 GB, free: 6.285 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007048/0.8804, allocations: 1.002 MB / 0.58 GB, free: 5.277 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02733/0.9078, allocations: 15.01 MB / 0.5946 GB, free: 6.199 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006389/0.9142, allocations: 4.228 MB / 0.5987 GB, free: 1.941 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003416/0.9176, allocations: 0.8365 MB / 0.5996 GB, free: 1.098 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008548/0.9185, allocations: 247.4 kB / 0.5998 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of SimCode: time 9.41e-07/0.9185, allocations: 0 / 0.5998 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of Templates: time 0.2811/1.2, allocations: 55.45 MB / 0.6539 GB, free: 130.4 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe 2>&1)