Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.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.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 111.8 kB / 17.06 MB, free: 6.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.001242/0.001243, allocations: 199 kB / 18 MB, free: 5.168 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.356/1.356, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.001308/0.001309, allocations: 51.92 kB / 327.9 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1087, allocations: 46.61 MB / 374.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.2541/0.3628, allocations: 12.75 MB / 387.3 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009836/0.3727, allocations: 4.273 MB / 391.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003382/0.3762, allocations: 68.97 kB / 391.6 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004844/0.3811, allocations: 0.9752 MB / 392.6 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007544/0.3886, allocations: 1.265 MB / 393.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003712/0.3924, allocations: 0.8604 MB / 394.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00974/0.4021, allocations: 3.886 MB / 398.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008338/0.4105, allocations: 3.171 MB / 401.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005628/0.4162, allocations: 1.843 MB / 403.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006479/0.4227, allocations: 2.063 MB / 405.7 MB, free: 12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002172/0.4249, allocations: 0.4989 MB / 406.2 MB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004166/0.4291, allocations: 0.6958 MB / 406.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003167/0.4323, allocations: 1.102 MB / 408 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006484/0.4388, allocations: 2.07 MB / 410 MB, free: 9.812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01451/0.4533, allocations: 6.589 MB / 416.6 MB, free: 4.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.4534, allocations: 0 / 416.6 MB, free: 4.914 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4534, allocations: 0 / 416.6 MB, free: 4.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002178/0.4536, allocations: 4 kB / 416.6 MB, free: 4.91 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.02408/0.4777, allocations: 4.298 MB / 420.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.779e-05/0.4778, allocations: 12.03 kB / 420.9 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/0.4881, allocations: 0.7969 MB / 421.7 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00969/0.4978, allocations: 2.243 MB / 424 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004465/0.4983, allocations: 238.6 kB / 424.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001694/0.5, allocations: 319.8 kB / 424.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01897/0.519, allocations: 4.219 MB / 428.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002303/0.5193, allocations: 7.906 kB / 428.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001432/0.5208, allocations: 124 kB / 428.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002679/0.5211, allocations: 154.3 kB / 429 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01371/0.5348, allocations: 3.601 MB / 432.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0421/0.577, allocations: 13.01 MB / 445.6 MB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/0.5889, allocations: 6.908 MB / 452.5 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004726/0.5937, allocations: 1.351 MB / 453.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01264/0.6064, allocations: 3.699 MB / 457.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.042e-05/0.6065, allocations: 47.5 kB / 457.6 MB, free: 10.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 4.919e-06/0.6065, allocations: 0 / 457.6 MB, free: 10.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01955/0.6261, allocations: 5.364 MB / 463 MB, free: 5.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.627e-05/0.6262, allocations: 68.41 kB / 463.1 MB, free: 5.297 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005024/0.6313, allocations: 1.705 MB / 464.8 MB, free: 3.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002715/0.6316, allocations: 49.7 kB / 464.8 MB, free: 3.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001723/0.6333, allocations: 1.395 MB / 466.2 MB, free: 2.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007158/0.6341, allocations: 433.8 kB / 466.6 MB, free: 1.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008631/0.635, allocations: 283.3 kB / 466.9 MB, free: 1.406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6351, allocations: 305.1 kB / 467.2 MB, free: 1.105 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/0.6372, allocations: 0.6442 MB / 467.9 MB, free: 472 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00249/0.6397, allocations: 1.11 MB / 469 MB, free: 15.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004782/0.6445, allocations: 1.875 MB / 470.8 MB, free: 13.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.972e-05/0.6446, allocations: 8 kB / 470.8 MB, free: 13.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006872/0.6514, allocations: 2.311 MB / 473.2 MB, free: 10.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.6515, allocations: 16 kB / 473.2 MB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.044e-05/0.6516, allocations: 23.97 kB / 473.2 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/0.6528, allocations: 267.2 kB / 473.5 MB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/0.6552, allocations: 359.4 kB / 473.8 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006625/0.6618, allocations: 6.198 MB / 480 MB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/0.6636, allocations: 75.86 kB / 480.1 MB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/0.6638, allocations: 67.98 kB / 480.1 MB, free: 3.289 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (180): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 3 systems {(1,1,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001936/0.6657, allocations: 1.009 MB / 481.2 MB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005521/0.6663, allocations: 173.8 kB / 481.3 MB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003989/0.6703, allocations: 2.115 MB / 483.4 MB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.6703, allocations: 12 kB / 483.5 MB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.998e-05/0.6704, allocations: 4 kB / 483.5 MB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.6704, allocations: 7.969 kB / 483.5 MB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008963/0.6793, allocations: 4.823 MB / 488.3 MB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.6794, allocations: 0 / 488.3 MB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007703/0.6802, allocations: 179.9 kB / 488.5 MB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001187/0.6814, allocations: 439.9 kB / 488.9 MB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/0.6815, allocations: 40.05 kB / 488.9 MB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01046/0.692, allocations: 11.02 MB / 499.9 MB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.692, allocations: 7.969 kB / 500 MB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005193/0.6972, allocations: 2.992 MB / 0.4912 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/0.6983, allocations: 406.7 kB / 0.4915 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004786/0.6988, allocations: 32 kB / 0.4916 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.7, allocations: 63.94 kB / 0.4916 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/0.7002, allocations: 100.8 kB / 0.4917 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.171e-05/0.7003, allocations: 35.98 kB / 0.4918 GB, free: 10.81 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002151/0.7025, allocations: 1.178 MB / 0.4929 GB, free: 9.641 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7025, allocations: 0 / 0.4929 GB, free: 9.641 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00255/0.7051, allocations: 0.5352 MB / 0.4934 GB, free: 9.105 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.phi) * 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 (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.0003504/0.7054, allocations: 163 kB / 0.4936 GB, free: 8.938 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0034/0.7088, allocations: 2.074 MB / 0.4956 GB, free: 6.805 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.7089, allocations: 384 / 0.4956 GB, free: 6.805 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002412/0.7113, allocations: 1.541 MB / 0.4971 GB, free: 5.199 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00269/0.714, allocations: 0.5075 MB / 0.4976 GB, free: 4.691 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.7248, allocations: 5.465 MB / 0.503 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00293/0.7278, allocations: 2.281 MB / 0.5052 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001556/0.7294, allocations: 383.8 kB / 0.5056 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004643/0.7298, allocations: 119.4 kB / 0.5057 GB, free: 12.36 MB / 446.1 MB Notification: Performance of SimCode: time 1.282e-06/0.7299, allocations: 4 kB / 0.5057 GB, free: 12.36 MB / 446.1 MB Notification: Performance of Templates: time 0.05139/0.7812, allocations: 28.35 MB / 0.5334 GB, free: 15.95 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1)