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.001245/0.001245, allocations: 108 kB / 17.06 MB, free: 6.02 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.00126/0.001261, allocations: 191 kB / 18 MB, free: 5.102 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 / 223.9 MB, free: 12.26 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.001332/0.001332, allocations: 51.88 kB / 327.9 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.096/0.09734, allocations: 46.61 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.2302/0.3276, allocations: 12.76 MB / 387.3 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.3388, allocations: 4.277 MB / 391.5 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003004/0.3419, allocations: 69.97 kB / 391.6 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003595/0.3456, allocations: 0.971 MB / 392.6 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00562/0.3512, allocations: 1.261 MB / 393.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.3539, allocations: 0.8652 MB / 394.7 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006157/0.3601, allocations: 3.886 MB / 398.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005024/0.3651, allocations: 3.174 MB / 401.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003861/0.369, allocations: 1.823 MB / 403.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003937/0.373, allocations: 2.057 MB / 405.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009737/0.3739, allocations: 0.4985 MB / 406.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001968/0.3759, allocations: 0.7017 MB / 406.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001035/0.377, allocations: 1.102 MB / 407.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002828/0.3798, allocations: 2.071 MB / 410 MB, free: 9.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008557/0.3884, allocations: 6.606 MB / 416.6 MB, free: 4.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3884, allocations: 0 / 416.6 MB, free: 4.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3884, allocations: 0 / 416.6 MB, free: 4.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001936/0.3886, allocations: 1.375 kB / 416.6 MB, free: 4.902 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.01307/0.4017, allocations: 4.394 MB / 421 MB, free: 1.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.4018, allocations: 16.02 kB / 421 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004322/0.4061, allocations: 0.8183 MB / 421.8 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004371/0.4105, allocations: 2.256 MB / 424.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.4107, allocations: 234.6 kB / 424.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005118/0.4112, allocations: 315.8 kB / 424.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007781/0.419, allocations: 4.219 MB / 428.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.2e-05/0.4191, allocations: 0 / 428.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003492/0.4195, allocations: 128 kB / 429 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001835/0.4197, allocations: 154.3 kB / 429.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006864/0.4265, allocations: 3.593 MB / 432.7 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02302/0.4496, allocations: 13.05 MB / 445.8 MB, free: 7.809 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006983/0.4566, allocations: 6.9 MB / 452.7 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002255/0.4589, allocations: 1.352 MB / 454 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007026/0.4659, allocations: 3.719 MB / 457.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.307e-05/0.466, allocations: 43.56 kB / 457.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 4.578e-06/0.466, allocations: 0 / 457.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01188/0.4779, allocations: 5.416 MB / 463.2 MB, free: 5.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.478, allocations: 72.34 kB / 463.3 MB, free: 5.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003351/0.4813, allocations: 1.702 MB / 465 MB, free: 3.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.599e-05/0.4814, allocations: 49.7 kB / 465 MB, free: 3.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.4825, allocations: 1.434 MB / 466.5 MB, free: 1.887 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004542/0.483, allocations: 456.1 kB / 466.9 MB, free: 1.438 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005147/0.4835, allocations: 283.5 kB / 467.2 MB, free: 1.156 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4836, allocations: 309.1 kB / 467.5 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.4848, allocations: 0.6442 MB / 468.1 MB, free: 212 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.4863, allocations: 1.106 MB / 469.2 MB, free: 14.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002603/0.4889, allocations: 1.879 MB / 471.1 MB, free: 12.81 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/0.489, allocations: 4 kB / 471.1 MB, free: 12.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003986/0.493, allocations: 2.324 MB / 473.4 MB, free: 10.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.493, allocations: 12 kB / 473.5 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/0.493, allocations: 16 kB / 473.5 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007651/0.4938, allocations: 275.4 kB / 473.7 MB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.4951, allocations: 355.4 kB / 474.1 MB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005691/0.5008, allocations: 6.198 MB / 480.3 MB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.5023, allocations: 84.06 kB / 480.4 MB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.5024, allocations: 64 kB / 480.4 MB, free: 3.031 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.001966/0.5044, allocations: 1.001 MB / 481.4 MB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004816/0.5049, allocations: 182.8 kB / 481.6 MB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003869/0.5088, allocations: 2.123 MB / 483.7 MB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.5088, allocations: 12 kB / 483.7 MB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-05/0.5089, allocations: 4 kB / 483.8 MB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.5089, allocations: 11.97 kB / 483.8 MB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0086/0.5175, allocations: 4.823 MB / 488.6 MB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.5175, allocations: 0 / 488.6 MB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007269/0.5182, allocations: 167.8 kB / 488.8 MB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/0.5194, allocations: 452.2 kB / 489.2 MB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.5196, allocations: 35.98 kB / 489.2 MB, free: 10 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/0.5298, allocations: 11.02 MB / 0.4885 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.5298, allocations: 12.06 kB / 0.4885 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005086/0.5349, allocations: 3.001 MB / 0.4915 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/0.5364, allocations: 419.7 kB / 0.4919 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005276/0.5369, allocations: 32 kB / 0.4919 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.538, allocations: 67.94 kB / 0.492 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/0.5383, allocations: 96.81 kB / 0.4921 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.972e-05/0.5384, allocations: 35.98 kB / 0.4921 GB, free: 10.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002065/0.5405, allocations: 1.174 MB / 0.4932 GB, free: 9.355 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.5405, allocations: 0 / 0.4932 GB, free: 9.355 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003069/0.5436, allocations: 0.539 MB / 0.4938 GB, free: 8.816 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.0005346/0.5441, allocations: 166.8 kB / 0.4939 GB, free: 8.645 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003575/0.5477, allocations: 2.073 MB / 0.4959 GB, free: 6.512 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.5477, allocations: 0 / 0.4959 GB, free: 6.512 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002411/0.5501, allocations: 1.538 MB / 0.4974 GB, free: 4.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.5526, allocations: 0.5152 MB / 0.4979 GB, free: 4.395 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.5628, allocations: 5.555 MB / 0.5034 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00227/0.5651, allocations: 2.281 MB / 0.5056 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001334/0.5665, allocations: 383.8 kB / 0.506 GB, free: 12.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003768/0.5669, allocations: 127.4 kB / 0.5061 GB, free: 11.96 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5669, allocations: 0 / 0.5061 GB, free: 11.96 MB / 446.1 MB Notification: Performance of Templates: time 0.05082/0.6177, allocations: 27.98 MB / 0.5334 GB, free: 15.93 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)