Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009519/0.0009519, allocations: 94.48 kB / 16.3 MB, free: 6.461 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.001055/0.001055, allocations: 175.3 kB / 17.19 MB, free: 6.348 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.939/1.939, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0004503/0.0004504, allocations: 11.28 kB / 280.1 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1265, allocations: 47.57 MB / 327.7 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.009932/0.1365, allocations: 7.115 MB / 334.8 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007659/0.1442, allocations: 2.777 MB / 337.6 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001579/0.1458, allocations: 35.81 kB / 337.6 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.1478, allocations: 0.5053 MB / 338.1 MB, free: 9.621 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003239/0.1511, allocations: 0.5919 MB / 338.7 MB, free: 9.027 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.1522, allocations: 211.7 kB / 338.9 MB, free: 8.82 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003444/0.1556, allocations: 1.466 MB / 340.4 MB, free: 7.348 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.1573, allocations: 1.196 MB / 341.6 MB, free: 6.117 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.1585, allocations: 0.7045 MB / 342.3 MB, free: 5.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.1601, allocations: 0.9145 MB / 343.2 MB, free: 4.492 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002185/0.1603, allocations: 116 kB / 343.3 MB, free: 4.379 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006099/0.161, allocations: 179.9 kB / 343.5 MB, free: 4.203 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007312/0.1617, allocations: 0.5531 MB / 344.1 MB, free: 3.648 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005142/0.1622, allocations: 428.6 kB / 344.5 MB, free: 3.223 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002662/0.1649, allocations: 2.789 MB / 347.3 MB, free: 436 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1649, allocations: 0 / 347.3 MB, free: 436 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.165, allocations: 4 kB / 347.3 MB, free: 432 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.914e-05/0.1651, allocations: 0 / 347.3 MB, free: 432 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.004987/0.1701, allocations: 2.127 MB / 349.4 MB, free: 14.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.1702, allocations: 11.97 kB / 349.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007634/0.1709, allocations: 245.3 kB / 349.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.1734, allocations: 1.196 MB / 350.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.1735, allocations: 131.6 kB / 351 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002788/0.1738, allocations: 183.8 kB / 351.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004246/0.178, allocations: 2.355 MB / 353.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.338e-05/0.1781, allocations: 8 kB / 353.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/0.1783, allocations: 72 kB / 353.6 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.1784, allocations: 95.45 kB / 353.7 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003629/0.182, allocations: 1.966 MB / 355.6 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01199/0.194, allocations: 7.125 MB / 362.8 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.1961, allocations: 1.288 MB / 364.1 MB, free: 15.24 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002511/0.1963, allocations: 126.1 kB / 364.2 MB, free: 15.1 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/0.1964, allocations: 43.56 kB / 364.2 MB, free: 15.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 3.697e-06/0.1964, allocations: 4 kB / 364.2 MB, free: 15.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=107): time 0.01623/0.2126, allocations: 6.975 MB / 371.2 MB, free: 7.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.2128, allocations: 64.41 kB / 371.3 MB, free: 7.836 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.2148, allocations: 1.164 MB / 372.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.014e-05/0.2149, allocations: 41.7 kB / 372.5 MB, free: 6.613 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007539/0.2156, allocations: 0.8653 MB / 373.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003756/0.216, allocations: 378.5 kB / 373.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-05/0.2161, allocations: 24 kB / 373.7 MB, free: 5.336 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.2163, allocations: 353.9 kB / 374.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.2174, allocations: 0.6623 MB / 374.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.2187, allocations: 0.9619 MB / 375.7 MB, free: 3.234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.2199, allocations: 0.8033 MB / 376.5 MB, free: 2.434 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.22, allocations: 4 kB / 376.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004311/0.2243, allocations: 2.338 MB / 378.8 MB, free: 72 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.2243, allocations: 12 kB / 378.8 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/0.2244, allocations: 11.98 kB / 378.9 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2626/0.487, allocations: 0.5953 MB / 379.5 MB, free: 50.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.4884, allocations: 273.4 kB / 379.7 MB, free: 50.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009487/0.4979, allocations: 6.413 MB / 386.1 MB, free: 47.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.4996, allocations: 94.77 kB / 386.2 MB, free: 47.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.4997, allocations: 55.86 kB / 386.3 MB, free: 47.1 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (130): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001623/0.5014, allocations: 0.5945 MB / 386.9 MB, free: 46.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005513/0.5019, allocations: 139.5 kB / 387 MB, free: 46.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004662/0.5066, allocations: 2.175 MB / 389.2 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.5066, allocations: 10.91 kB / 389.2 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.5067, allocations: 4.969 kB / 389.2 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/0.5067, allocations: 6.375 kB / 389.2 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008107/0.5148, allocations: 4.275 MB / 393.5 MB, free: 44.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/0.5149, allocations: 2.156 kB / 393.5 MB, free: 44.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007462/0.5156, allocations: 178.5 kB / 393.7 MB, free: 44.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001712/0.5173, allocations: 0.6523 MB / 394.3 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.388e-05/0.5174, allocations: 33.52 kB / 394.3 MB, free: 43.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00766/0.5251, allocations: 7.919 MB / 402.3 MB, free: 38.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5251, allocations: 3.953 kB / 402.3 MB, free: 38.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00458/0.5297, allocations: 3.216 MB / 405.5 MB, free: 36.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008735/0.5306, allocations: 348.6 kB / 405.8 MB, free: 35.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003422/0.531, allocations: 27.98 kB / 405.9 MB, free: 35.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009397/0.5319, allocations: 87.91 kB / 405.9 MB, free: 35.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002454/0.5322, allocations: 88.81 kB / 406 MB, free: 35.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.257e-05/0.5323, allocations: 28 kB / 406.1 MB, free: 35.52 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001385/0.5337, allocations: 0.7991 MB / 406.9 MB, free: 34.72 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5337, allocations: 0 / 406.9 MB, free: 34.72 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001915/0.5356, allocations: 428 kB / 407.3 MB, free: 34.3 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 20,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003611/0.536, allocations: 145.2 kB / 407.4 MB, free: 34.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003392/0.5394, allocations: 2.233 MB / 409.6 MB, free: 31.86 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.5394, allocations: 1.938 kB / 409.6 MB, free: 31.86 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002064/0.5415, allocations: 1.495 MB / 411.1 MB, free: 30.31 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.5433, allocations: 351.4 kB / 411.5 MB, free: 29.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007319/0.5506, allocations: 4.68 MB / 416.2 MB, free: 25.24 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/0.5518, allocations: 1.679 MB / 417.8 MB, free: 23.53 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009646/0.5528, allocations: 286.7 kB / 418.1 MB, free: 23.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.553, allocations: 95.42 kB / 418.2 MB, free: 23.15 MB / 318.1 MB Notification: Performance of SimCode: time 1.703e-06/0.553, allocations: 0 / 418.2 MB, free: 23.15 MB / 318.1 MB Notification: Performance of Templates: time 0.03595/0.589, allocations: 21.45 MB / 439.7 MB, free: 1.699 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) Environment - environmentSimulation: