Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.007099/0.007099, allocations: 101.7 kB / 15.73 MB, free: 6.047 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.001584/0.001585, allocations: 197.9 kB / 16.67 MB, free: 5.977 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.371/1.371, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.001182/0.001182, allocations: 51.5 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.103, allocations: 46.63 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.02737/0.1304, allocations: 25.33 MB / 398.5 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01728/0.1478, allocations: 7.075 MB / 405.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006366/0.1542, allocations: 151.4 kB / 405.8 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00676/0.161, allocations: 1.782 MB / 407.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01056/0.1716, allocations: 2.353 MB / 409.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00561/0.1773, allocations: 1.524 MB / 411.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01365/0.1909, allocations: 8.538 MB / 419.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01351/0.2045, allocations: 7.278 MB / 427.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007933/0.2124, allocations: 3.996 MB / 431.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008919/0.2214, allocations: 4.62 MB / 435.8 MB, free: 2.332 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00409/0.2255, allocations: 1.133 MB / 437 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005348/0.2309, allocations: 1.347 MB / 438.3 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004355/0.2353, allocations: 2.517 MB / 440.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009616/0.2449, allocations: 4.726 MB / 445.6 MB, free: 8.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.323/0.568, allocations: 14.72 MB / 460.3 MB, free: 29.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.5681, allocations: 0 / 460.3 MB, free: 29.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.5681, allocations: 0 / 460.3 MB, free: 29.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007612/0.5688, allocations: 1.188 kB / 460.3 MB, free: 29.38 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.04679/0.6156, allocations: 9.216 MB / 469.5 MB, free: 26.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.6157, allocations: 12.89 kB / 469.5 MB, free: 26.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01383/0.6295, allocations: 1.74 MB / 471.3 MB, free: 26.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01648/0.646, allocations: 4.74 MB / 476 MB, free: 25.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00112/0.6472, allocations: 0.5368 MB / 476.5 MB, free: 25.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005154/0.6524, allocations: 0.7086 MB / 477.2 MB, free: 25.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04474/0.6972, allocations: 9.781 MB / 487 MB, free: 20.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006082/0.6978, allocations: 11.83 kB / 487 MB, free: 20.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005071/0.7029, allocations: 295.3 kB / 487.3 MB, free: 19.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004702/0.7034, allocations: 356.8 kB / 487.7 MB, free: 19.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02576/0.7292, allocations: 8.286 MB / 496 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07439/0.8036, allocations: 30.07 MB / 0.5137 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01958/0.8233, allocations: 16.08 MB / 0.5294 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00669/0.83, allocations: 3.016 MB / 0.5323 GB, free: 12.37 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02038/0.8504, allocations: 8.056 MB / 0.5402 GB, free: 4.281 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.891e-05/0.8506, allocations: 64.78 kB / 0.5403 GB, free: 4.207 MB / 430.1 MB Notification: Performance of pre-optimization done (n=281): time 5.64e-06/0.8506, allocations: 0 / 0.5403 GB, free: 4.207 MB / 430.1 MB Notification: Performance of matching and sorting (n=289): time 0.03017/0.8808, allocations: 11.57 MB / 0.5516 GB, free: 8.387 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.942e-05/0.8809, allocations: 93.22 kB / 0.5517 GB, free: 8.289 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008658/0.8896, allocations: 3.641 MB / 0.5552 GB, free: 4.668 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007535/0.8904, allocations: 73.7 kB / 0.5553 GB, free: 4.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002953/0.8933, allocations: 3.184 MB / 0.5584 GB, free: 1.383 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00164/0.895, allocations: 0.9924 MB / 0.5594 GB, free: 408 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002103/0.8971, allocations: 0.6477 MB / 0.56 GB, free: 15.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.8973, allocations: 305.1 kB / 0.5603 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003008/0.9003, allocations: 1.483 MB / 0.5617 GB, free: 13.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004049/0.9044, allocations: 2.622 MB / 0.5643 GB, free: 10.86 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007254/0.9117, allocations: 4.385 MB / 0.5686 GB, free: 6.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.911e-05/0.9117, allocations: 16 kB / 0.5686 GB, free: 6.074 MB / 462.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.01049/0.9222, allocations: 5.016 MB / 0.5735 GB, free: 1.203 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.51e-05/0.9223, allocations: 20 kB / 0.5735 GB, free: 1.184 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.597e-05/0.9224, allocations: 36 kB / 0.5736 GB, free: 1.148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.9235, allocations: 404.8 kB / 0.5739 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003536/0.9271, allocations: 0.867 MB / 0.5748 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00835/0.9354, allocations: 7.964 MB / 0.5826 GB, free: 7.457 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005471/0.941, allocations: 171.7 kB / 0.5827 GB, free: 7.289 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001254/0.9423, allocations: 164 kB / 0.5829 GB, free: 7.129 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.007113/0.9494, allocations: 2.139 MB / 0.585 GB, free: 5.035 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001633/0.951, allocations: 395.1 kB / 0.5853 GB, free: 4.645 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/0.9625, allocations: 4.456 MB / 0.5897 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.443e-05/0.9626, allocations: 35.88 kB / 0.5897 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.705e-05/0.9627, allocations: 12 kB / 0.5897 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.132e-05/0.9628, allocations: 18.25 kB / 0.5898 GB, free: 60 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02722/0.99, allocations: 10.48 MB / 0.6 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-05/0.9901, allocations: 4 kB / 0.6 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002262/0.9923, allocations: 437.9 kB / 0.6004 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002504/0.9949, allocations: 0.8703 MB / 0.6013 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004603/0.9953, allocations: 75.97 kB / 0.6013 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02005/1.015, allocations: 17.62 MB / 0.6185 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/1.015, allocations: 4 kB / 0.6186 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01453/1.03, allocations: 6.425 MB / 0.6248 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002998/1.033, allocations: 0.8007 MB / 0.6256 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001429/1.035, allocations: 71.98 kB / 0.6257 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002952/1.037, allocations: 131.9 kB / 0.6258 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007629/1.038, allocations: 223.2 kB / 0.626 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003314/1.039, allocations: 80.17 kB / 0.6261 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00632/1.045, allocations: 2.477 MB / 0.6285 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/1.045, allocations: 3.938 kB / 0.6285 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007127/1.052, allocations: 1.215 MB / 0.6297 GB, free: 6.035 MB / 0.5137 GB 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.0008316/1.053, allocations: 213.7 kB / 0.6299 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008378/1.061, allocations: 4.377 MB / 0.6342 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.061, allocations: 4 kB / 0.6342 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.2618/1.323, allocations: 2.984 MB / 0.6371 GB, free: 192.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007276/1.331, allocations: 1.119 MB / 0.6382 GB, free: 192.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02587/1.356, allocations: 12.47 MB / 0.6504 GB, free: 188.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003892/1.36, allocations: 4.348 MB / 0.6546 GB, free: 186.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003382/1.364, allocations: 0.8946 MB / 0.6555 GB, free: 186.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007688/1.365, allocations: 275.9 kB / 0.6557 GB, free: 186.7 MB / 0.5137 GB Notification: Performance of SimCode: time 8.51e-07/1.365, allocations: 0 / 0.6557 GB, free: 186.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.09226/1.457, allocations: 57.57 MB / 0.712 GB, free: 136 MB / 0.5137 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1)